File tree Expand file tree Collapse file tree 2 files changed +2
-14
lines changed
Expand file tree Collapse file tree 2 files changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -174,9 +174,9 @@ protected function traverseNode(Node $node): void {
174174 /**
175175 * Recursively traverse array (usually of nodes).
176176 *
177- * @param array $nodes Array to traverse
177+ * @param Node[] $nodes Array to traverse
178178 *
179- * @return array Result of traversal (may be original array or changed one)
179+ * @return Node[] Result of traversal (may be original array or changed one)
180180 */
181181 protected function traverseArray (array $ nodes ): array {
182182 $ doNodes = [];
Original file line number Diff line number Diff line change @@ -174,18 +174,6 @@ parameters:
174174 count : 1
175175 path : lib/PhpParser/NodeDumper.php
176176
177- -
178- message : ' #^Method PhpParser\\NodeTraverser\:\:traverseArray\(\) has parameter \$nodes with no value type specified in iterable type array\.$#'
179- identifier : missingType.iterableValue
180- count : 1
181- path : lib/PhpParser/NodeTraverser.php
182-
183- -
184- message : ' #^Method PhpParser\\NodeTraverser\:\:traverseArray\(\) return type has no value type specified in iterable type array\.$#'
185- identifier : missingType.iterableValue
186- count : 1
187- path : lib/PhpParser/NodeTraverser.php
188-
189177 -
190178 message : ' #^Access to an undefined property PhpParser\\Node\:\:\$attrGroups\.$#'
191179 identifier : property.notFound
You can’t perform that action at this time.
0 commit comments