[DI] Fix PhpDumper generated doc block

This commit is contained in:
Nicolas Grekas 2017-03-20 09:19:13 +01:00
parent 6b4cfd6a25
commit 58b3ee7616
2 changed files with 4 additions and 1 deletions

View File

@ -628,7 +628,7 @@ EOF;
}
if ($definition->isAutowired()) {
$doc = <<<EOF
$doc .= <<<EOF
*
* This service is autowired.

View File

@ -33,6 +33,9 @@ class ProjectServiceContainer extends Container
/**
* Gets the 'foo' service.
*
* This service is shared.
* This method always returns the same instance of the service.
*
* This service is autowired.
*
* @return \Foo A Foo instance