8000 bug #13927 Fixing wrong variable name from #13519 (weaverryan) · symfony/symfony@225dbaf · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 225dbaf

Browse files
committed
bug #13927 Fixing wrong variable name from #13519 (weaverryan)
This PR was merged into the 2.3 branch. Discussion ---------- Fixing wrong variable name from #13519 | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #13519 | License | MIT | Doc PR | n/a Hi guys! I'm currently seeing an undefined variable in the `PhpDumper` on all branches. I think it was added inadvertently in #13519, so unless I'm totally missing something, this should be an easy merge. Thanks! Commits ------- 3ae52ed Fixing wrong variable name from #13519
2 parents e34387d + 3ae52ed commit 225dbaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ private function dumpValue($value, $interpolate = true)
12231223
if (null !== $value->getFactoryClass()) {
12241224
return sprintf("call_user_func(array(%s, '%s')%s)", $this->dumpValue($value->getFactoryClass()), $value->getFactoryMethod(), count($arguments) > 0 ? ', '.implode(', ', $arguments) : '');
12251225
} elseif (null !== $value->getFactoryService()) {
1226-
$service = $this->dumpValue($definition->getFactoryService());
1226+
$service = $this->dumpValue($value->getFactoryService());
12271227

12281228
return sprintf("%s->%s(%s)", 0 === strpos($service, '$') ? sprintf('$this->get(%s)', $service) : $this->getServiceCall($value->getFactoryService()), $value->getFactoryMethod(), implode(', ', $arguments));
12291229
} else {

0 commit comments

Comments
 (0)
0