8000 PR 36579 fabbot patch after rebase · symfony/symfony@6c67ce1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6c67ce1

Browse files
committed
PR 36579 fabbot patch after rebase
1 parent ced94da commit 6c67ce1

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
@@ -1086,7 +1086,7 @@ private function addNewInstance(Definition $definition, string $return = '', str
10861086
// If the class is a string we can optimize away
10871087
if (0 === strpos($class, "'") && false === strpos($class, '$')) {
10881088
if ("''" === $class) {
1089-
throw new RuntimeException(sprintf('Cannot dump definition: %s service is defined to be created by a factory but is missing the service reference, did you forget to define the factory service id or class?', $id ? 'The "'.$id.'"' : 'inline'));
1089+
throw new RuntimeException(sprintf('Cannot dump definition: "%s" service is defined to be created by a factory but is missing the service reference, did you forget to define the factory service id or class?', $id ? 'The "'.$id.'"' : 'inline'));
10901090
}
10911091

10921092
return $return.sprintf('%s::%s(%s)', $this->dumpLiteralClass($class), $callable[1], $arguments ? implode(', ', $arguments) : '').$tail;

0 commit comments

Comments
 (0)
0