Skip to content

Commit 5c5dd86

Browse files
Merge branch '4.4' into 5.0
* 4.4: [VarDumper] fix typo Fix support for PHP8 union types [FrameworkBundle] preserve dots in query-string when redirecting [3.4] Fix support for PHP8 union types [PhpUnitBridge] Streamline ansi/no-ansi of composer according to phpunit --colors option [3.4] Small update in our internal terminology [Cache] fix compat with DBAL v3 [HttpClient] Convert CurlHttpClient::handlePush() to instance method [VarDumper] Fix CliDumper coloration [DI] tighten detection of local dirs to prevent false positives [FrameworkBundle] preserve dots in query-string when redirecting Fix precendence in 4.4 bumped Symfony version to 3.4.43 updated VERSION for 3.4.42 update CONTRIBUTORS for 3.4.42 updated CHANGELOG for 3.4.42
2 parents 9f2efcb + 6140fc7 commit 5c5dd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/RegisterListenersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ private function getEventFromTypeDeclaration(ContainerBuilder $container, string
137137
|| !($r = $container->getReflectionClass($class, false))
138138
|| !$r->hasMethod($method)
139139
|| 1 > ($m = $r->getMethod($method))->getNumberOfParameters()
140-
|| !($type = $m->getParameters()[0]->getType())
140+
|| !($type = $m->getParameters()[0]->getType()) instanceof \ReflectionNamedType
141141
|| $type->isBuiltin()
142142
|| Event::class === ($name = $type->getName())
143143
) {

0 commit comments

Comments
 (0)