fix merge
This commit is contained in:
parent
dc11777afa
commit
813ad248e5
@ -211,7 +211,7 @@ class MessengerPass implements CompilerPassInterface
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($type->isBuiltin()) {
|
if ($type->isBuiltin()) {
|
||||||
throw new RuntimeException(sprintf('Invalid handler service "%s": type-hint of argument "$%s" in method "%s::__invoke()" must be a class , "%s" given.', $serviceId, $parameters[0]->getName(), $handlerClass->getName(), $type));
|
throw new RuntimeException(sprintf('Invalid handler service "%s": type-hint of argument "$%s" in method "%s::__invoke()" must be a class , "%s" given.', $serviceId, $parameters[0]->getName(), $handlerClass->getName(), $type instanceof \ReflectionNamedType ? $type->getName() : (string) $type));
|
||||||
}
|
}
|
||||||
|
|
||||||
return [$parameters[0]->getType()->getName()];
|
return [$parameters[0]->getType()->getName()];
|
||||||
|
Reference in New Issue
Block a user