Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a1d33da

Browse files
cs fix
1 parent c1c6687 commit a1d33da

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Symfony/Component/HttpKernel/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)