Skip to content

Commit

Permalink
chore: revert unintended docblock change
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhermoso committed Aug 12, 2024
1 parent 6a5e7dd commit 5919c4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Nodes/ArrayNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public function __construct(string $name, ?CompoundNode $parent = null)

/**
* @param string|NodeType $type
* @return AbstractNode
* @return ScalarNode|ArrayNode|ObjectNode|FileNode
*/
public function each(string|NodeType $type): AbstractNode
public function each(NodeType|string $type): AbstractNode
{
$className = $this->resolveNodeClassName($type);
$this->failIfTypeChanged($className);
Expand Down

0 comments on commit 5919c4a

Please sign in to comment.