Enhance the phpDoc return types so IDEs can handle the configuration tree.
This commit is contained in:
parent
ab1c76ca6b
commit
4e8bfc65af
@ -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()
|
||||
{
|
||||
|
@ -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()
|
||||
{
|
||||
|
Reference in New Issue
Block a user