[Di] Fix undefined variable found by Php Inspections (EA Ultimate)
This commit is contained in:
parent
fd3571d172
commit
a3a9e2ec19
@ -501,7 +501,7 @@ EOTXT;
|
||||
// $b = new ServiceB();
|
||||
// $a = new ServiceA(ServiceB $b);
|
||||
// $b->setServiceA(ServiceA $a);
|
||||
if (isset($inlinedDefinition[$definition]) && $this->hasReference($id, array($def->getArguments(), $def->getFactory()))) {
|
||||
if (isset($inlinedDefinitions[$definition]) && $this->hasReference($id, array($def->getArguments(), $def->getFactory()))) {
|
||||
throw new ServiceCircularReferenceException($id, array($id));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user