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 bb10145 commit d1a3115Copy full SHA for d1a3115
Compiler/CheckReferenceValidityPass.php
@@ -72,8 +72,8 @@ public function process(ContainerBuilder $container)
72
$this->currentScopeChildren = array_keys($scopes);
73
$this->currentScopeAncestors = array();
74
} elseif (ContainerInterface::SCOPE_PROTOTYPE !== $scope) {
75
- $this->currentScopeChildren = $children[$scope];
76
- $this->currentScopeAncestors = $ancestors[$scope];
+ $this->currentScopeChildren = isset($children[$scope]) ? $children[$scope] : array();
+ $this->currentScopeAncestors = isset($ancestors[$scope]) ? $ancestors[$scope] : array();
77
}
78
79
$this->validateReferences($definition->getArguments());
0 commit comments