Use intersection type when referring to ParentNodeDefinitionInterface
This commit is contained in:
parent
8322494a47
commit
e9cdabe570
@ -133,7 +133,7 @@ class NodeBuilder implements NodeParentInterface
|
|||||||
/**
|
/**
|
||||||
* Returns the parent node.
|
* Returns the parent node.
|
||||||
*
|
*
|
||||||
* @return ParentNodeDefinitionInterface|NodeDefinition The parent node
|
* @return NodeDefinition&ParentNodeDefinitionInterface The parent node
|
||||||
*/
|
*/
|
||||||
public function end()
|
public function end()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user