8000 [DependencyInjection] fix dumped YAML string · symfony/symfony@3325f59 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3325f59

Browse files
committed
[DependencyInjection] fix dumped YAML string
1 parent 1dcf83c commit 3325f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ private function addService($id, $definition)
8888
}
8989

9090
if ($definition->getFile()) {
91-
$code .= sprintf(" file: %s\n", $definition->getFile());
91+
$code .= sprintf(" file: %s\n", $this->dumper->dump($definition->getFile()));
9292
}
9393

9494
if ($definition->isSynthetic()) {

0 commit comments

Comments
 (0)
0