Skip to content

Commit a0be80e

Browse files
kalessilnicolas-grekas
authored andcommitted
[Di] Fix undefined variable found by Php Inspections (EA Ultimate)
1 parent 86f4ac3 commit a0be80e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dumper/PhpDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ private function addServiceInlinedDefinitions($id, Definition $definition, \SplO
501501
// $b = new ServiceB();
502502
// $a = new ServiceA(ServiceB $b);
503503
// $b->setServiceA(ServiceA $a);
504-
if (isset($inlinedDefinition[$definition]) && $this->hasReference($id, array($def->getArguments(), $def->getFactory()))) {
504+
if (isset($inlinedDefinitions[$definition]) && $this->hasReference($id, array($def->getArguments(), $def->getFactory()))) {
505505
throw new ServiceCircularReferenceException($id, array($id));
506506
}
507507

0 commit comments

Comments
 (0)