We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 841872c commit ba6150fCopy full SHA for ba6150f
src/ParameterResolver/Container/TypeHintContainerResolver.php
@@ -41,14 +41,14 @@ public function getParameters(
41
// No type
42
continue;
43
}
44
- if ($parameterType->isBuiltin()) {
45
- // Primitive types are not supported
46
- continue;
47
- }
48
if (! $parameterType instanceof ReflectionNamedType) {
49
// Union types are not supported
50
51
+ if ($parameterType->isBuiltin()) {
+ // Primitive types are not supported
+ continue;
+ }
52
53
$parameterClass = $parameterType->getName();
54
if ($parameterClass === 'self') {
0 commit comments