8000 Fixing wrong variable name from #13519 · symfony/symfony@3ae52ed · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 3ae52ed

Browse files
committed
Fixing wrong variable name from #13519
1 parent e34387d commit 3ae52ed

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
647C
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