Skip to content

Commit

Permalink
Merge branch '5.3' into 5.4
Browse files Browse the repository at this point in the history
* 5.3:
  [DependencyInjection] only allow `ReflectionNamedType` for `ServiceSubscriberTrait`
  Fix CS
  [Intl] Update the ICU data to 70.1
  Default access_decision_manager.strategy option with merge.

Signed-off-by: Alexander M. Turek <me@derrabus.de>
  • Loading branch information
derrabus committed Nov 4, 2021
2 parents 89fbcbd + d664541 commit 1ab11b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ServiceSubscriberTrait.php
Expand Up @@ -78,7 +78,7 @@ public static function getSubscribedServices(): array
continue;
}

if (!$returnType = $method->getReturnType()) {
if (!($returnType = $method->getReturnType()) instanceof \ReflectionNamedType) {
continue;
}

Expand Down

0 comments on commit 1ab11b9

Please sign in to comment.