Skip to content

Commit 662fdf2

Browse files
committed
Merge branch '6.4' into 7.3
* 6.4: fix test setup [Validator] Review Turkish translations [Validator] Review Croatian translations [Validator] Review translations for Polish (pl) use the empty string instead of null as an array offset Review translations for Chinese (zh_TW) [Serializer] Adjust ObjectNormalizerTest for the accessor method changes from #61097
2 parents f514d32 + 6c2e236 commit 662fdf2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Logout/LogoutUrlGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ private function getListener(?string $key): array
138138
}
139139

140140
// Fetch from injected current firewall information, if possible
141-
if (isset($this->listeners[$this->currentFirewallName])) {
142-
return $this->listeners[$this->currentFirewallName];
141+
if (isset($this->listeners[$this->currentFirewallName ?? ''])) {
142+
return $this->listeners[$this->currentFirewallName ?? ''];
143143
}
144144

145145
foreach ($this->listeners as $listener) {

0 commit comments

Comments
 (0)