Enhance the phpDoc return types so IDEs can handle the configuration tree.

This commit is contained in:
Leo Feyer 2016-08-08 09:03:44 +02:00 committed by Fabien Potencier
parent ab1c76ca6b
commit 4e8bfc65af
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ class NodeBuilder implements NodeParentInterface
/**
* Returns the parent node.
*
* @return ParentNodeDefinitionInterface The parent node
* @return ParentNodeDefinitionInterface|NodeDefinition The parent node
*/
public function end()
{

View File

@ -107,7 +107,7 @@ abstract class NodeDefinition implements NodeParentInterface
/**
* Returns the parent node.
*
* @return NodeParentInterface|null The builder of the parent node
* @return NodeParentInterface|NodeBuilder|NodeDefinition|null The builder of the parent node
*/
public function end()
{