From 5919c4a0ccb45fb0f35465909447cfc209de81b1 Mon Sep 17 00:00:00 2001 From: Bez Hermoso Date: Mon, 12 Aug 2024 01:08:11 -0700 Subject: [PATCH] chore: revert unintended docblock change --- src/Nodes/ArrayNode.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Nodes/ArrayNode.php b/src/Nodes/ArrayNode.php index 6de8d43..79bb2f4 100644 --- a/src/Nodes/ArrayNode.php +++ b/src/Nodes/ArrayNode.php @@ -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);