Skip to content

Commit 495990e

Browse files
committed
Fixing wrong variable name from #13519
1 parent 454b8e5 commit 495990e

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
@@ -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)