8000 Fix bug found by @weaverryan · symfony/symfony@c2d2ecd · GitHub
[go: up one dir, main page]

Skip to content

Commit c2d2ecd

Browse files
committed
Fix bug found by @weaverryan
1 parent 25424e3 commit c2d2ecd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ private function completeDefinition($id, Definition $definition)
8383
$this->populateAvailableTypes();
8484
}
8585

86+
if (isset($this->notGuessableTypes[$typeHint->name])) {
87+
return;
88+
}
89+
8690
if (isset($this->types[$typeHint->name])) {
8791
$value = new Reference($this->types[$typeHint->name]);
8892
} else {

0 commit comments

Comments
 (0)
0