We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eef742d commit 6c2e236Copy full SHA for 6c2e236
Logout/LogoutUrlGenerator.php
@@ -146,8 +146,8 @@ private function getListener(?string $key): array
146
}
147
148
// Fetch from injected current firewall information, if possible
149
- if (isset($this->listeners[$this->currentFirewallName])) {
150
- return $this->listeners[$this->currentFirewallName];
+ if (isset($this->listeners[$this->currentFirewallName ?? ''])) {
+ return $this->listeners[$this->currentFirewallName ?? ''];
151
152
153
foreach ($this->listeners as $listener) {
0 commit comments