Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8633f64

Browse filesBrowse files
minor #27700 [Di] Fix undefined variable found by Php Inspections (EA Ultimate) (kalessil)
This PR was merged into the 3.4 branch. Discussion ---------- [Di] Fix undefined variable found by Php Inspections (EA Ultimate) | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- a3a9e2e [Di] Fix undefined variable found by Php Inspections (EA Ultimate)
2 parents fd3571d + a3a9e2e commit 8633f64
Copy full SHA for 8633f64

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.