8000
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 702aa51 commit 9aae7a2Copy full SHA for 9aae7a2
src/Symfony/Component/DependencyInjection/Compiler/CheckTypeHintsPass.php
@@ -149,10 +149,10 @@ private function getClassName($value)
149
} elseif (null === $class) {
150
$class = $value->getClass();
151
} elseif ($class instanceof Definition) {
152
- $class = $class->getClass();
+ $class = $this->getClassName($class);
153
}
154
} else {
155
- $class = is_string($factory) ? null : $value->getClass();
+ $class = $value->getClass();
156
157
158
return $class;
0 commit comments