Skip to content

Commit ec25870

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 e0837b4 + c8559fe commit ec25870

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/TranslatorPathsPass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ protected function processValue(mixed $value, bool $isRoot = false): mixed
9393
$class = $this->definitions[$i]->getClass();
9494

9595
if (ServiceLocator::class === $class) {
96-
if (!isset($this->controllers[$this->currentId])) {
96+
if (!isset($this->controllers[$this->currentId ?? ''])) {
9797
continue;
9898
}
99-
foreach ($this->controllers[$this->currentId] as $class => $_) {
99+
foreach ($this->controllers[$this->currentId ?? ''] as $class => $_) {
100100
$this->paths[$class] = true;
101101
}
102102
} else {

0 commit comments

Comments
 (0)