Skip to content

Commit

Permalink
[1.x] Expand @return annotation of AbstractNode#end() to help auto-…
Browse files Browse the repository at this point in the history
…complete w/o `@mixin` support (#11)

* Expand @return annotation of AbstractNode#end() to help auto-complete w/o @mixin support
  • Loading branch information
bezhermoso authored Jul 9, 2022
1 parent bacb8a4 commit 67d29f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nodes/AbstractNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(string $name, ?CompoundNode $parent = null)
}

/**
* @return CompoundNode
* @return CompoundNode|ObjectNode|ArrayNode
*/
public function end(): CompoundNode
{
Expand Down

0 comments on commit 67d29f4

Please sign in to comment.