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 a40f340 commit fad7a7fCopy full SHA for fad7a7f
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