10000 remove useless check · symfony/symfony@b0fec89 · GitHub
[go: up one dir, main page]

Skip to content

Commit b0fec89

Browse files
committed
remove useless check
1 parent 702aa51 commit b0fec89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/DependencyInjection/Compiler/CheckTypeHintsPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ private function getClassName($value)
152152
$class = $class->getClass();
153153
}
154154
} else {
155-
$class = is_string($factory) ? null : $value->getClass();
< 4C17 /td>155+
$class = $value->getClass();
156156
}
157157

158158
return $class;

0 commit comments

Comments
 (0)
0