Skip to content

Commit

Permalink
[DI] fix dumping deprecated service in yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Jun 26, 2018
1 parent d59f210 commit 411be25
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -99,7 +99,7 @@ private function addService($id, Definition $definition)
}

if ($definition->isDeprecated()) {
$code .= sprintf(" deprecated: %s\n", $definition->getDeprecationMessage('%service_id%'));
$code .= sprintf(" deprecated: %s\n", $this->dumper->dump($definition->getDeprecationMessage('%service_id%')));
}

if ($definition->isAutowired()) {
Expand Down

0 comments on commit 411be25

Please sign in to comment.