Skip to content

Commit 1f0c4e1

Browse files
cs fix
1 parent f2c0df0 commit 1f0c4e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DependencyInjection/RegisterControllerArgumentLocatorsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function process(ContainerBuilder $container)
127127
$type = ltrim($target = (string) ProxyHelper::getTypeHint($r, $p), '\\');
128128
$invalidBehavior = ContainerInterface::IGNORE_ON_INVALID_REFERENCE;
129129

130-
if (is_subclass_of($type, \UnitEnum::class, true)) {
130+
if (is_subclass_of($type, \UnitEnum::class)) {
131131
// do not attempt to register enum typed arguments
132132
continue;
133133
}

0 commit comments

Comments
 (0)