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 7ef0951 commit aea0478Copy full SHA for aea0478
src/Symfony/Component/DependencyInjection/Compiler/CheckCircularReferencesPass.php
@@ -62,7 +62,7 @@ private function checkOutEdges(array $edges)
62
if (empty($this->checkedNodes[$id])) {
63
64
// don't check circular dependencies for lazy services
65
- if (!$node->getValue() && $node->getValue()->isLazy()) {
+ if (!$node->getValue() || !$node->getValue()->isLazy()) {
66
$searchKey = array_search($id, $this->currentPath);
67
$this->currentPath[] = $id;
68
0 commit comments