We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3347b3 commit 068e688Copy full SHA for 068e688
DependencyInjection/RegisterControllerArgumentLocatorsPass.php
@@ -151,12 +151,12 @@ public function process(ContainerBuilder $container)
151
$args[$p->name] = $bindingValue;
152
}
153
154
+ continue;
155
+ } elseif (!$type || !$autowire || '\\' !== $target[0]) {
156
continue;
157
} elseif (is_subclass_of($type, \UnitEnum::class)) {
158
// do not attempt to register enum typed arguments if not already present in bindings
159
- } elseif (!$type || !$autowire || '\\' !== $target[0]) {
- continue;
160
} elseif (!$p->allowsNull()) {
161
$invalidBehavior = ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE;
162
0 commit comments