Skip to content

Commit 67d29f4

Browse files
authored
[1.x] Expand @return annotation of AbstractNode#end() to help auto-complete w/o @mixin support (#11)
* Expand @return annotation of AbstractNode#end() to help auto-complete w/o @mixin support
1 parent bacb8a4 commit 67d29f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Nodes/AbstractNode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function __construct(string $name, ?CompoundNode $parent = null)
5656
}
5757

5858
/**
59-
* @return CompoundNode
59+
* @return CompoundNode|ObjectNode|ArrayNode
6060
*/
6161
public function end(): CompoundNode
6262
{

0 commit comments

Comments
 (0)