Skip to content

Commit 2a206ef

Browse files
committed
remove array item scope, as handled in array
1 parent 4997962 commit 2a206ef

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,11 +333,6 @@ public function processNodes(
333333
return;
334334
}
335335

336-
if ($node instanceof ArrayItem) {
337-
$this->processArrayItem($node, $mutatingScope);
338-
return;
339-
}
340-
341336
if ($node instanceof NullableType) {
342337
$node->type->setAttribute(AttributeKey::SCOPE, $mutatingScope);
343338
return;

0 commit comments

Comments
 (0)