Skip to content

Commit 1511d0f

Browse files
Merge branch '4.2' into 4.3
* 4.2: minor: add some test in the ldap component [Bridge\ProxyManager] isProxyCandidate() does not take into account interfaces [Routing][AnnotationClassLoader] fix utf-8 encoding in default route name fixed a phpdoc [Debug] Wrap call to require_once in a try/catch prevent deprecation when filesize matches error code [PropertyInfo] Add missing documentation link in Readme Use the current working dir as default first arg in 'link' binary Respect parent class contract in ContainerAwareDoctrineEventManager [Validator] Add the missing translations for the Danish ("da") locale [PropertyAccess] Add missing property to PropertyAccessor [Cache] fix saving unrelated keys in recursive callback calls [Serializer] Fix denormalization of object with variadic constructor typed argument Allow set 'None' on samesite cookie flag Making cache rebuild correctly with MessageSubscriberInterface return values Fix finding parent definition
2 parents 01966bc + 32cc317 commit 1511d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/AddValidatorInitializersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function process(ContainerBuilder $container)
6262
}
6363

6464
while (!($class = $translator->getClass()) && $translator instanceof ChildDefinition) {
65-
$translator = $translator->getParent();
65+
$translator = $container->findDefinition($translator->getParent());
6666
}
6767

6868
if (!is_subclass_of($class, LegacyTranslatorInterface::class)) {

0 commit comments

Comments
 (0)