Skip to content

Commit aeb00d9

Browse files
committed
fix test, because access on $isOffsetAccessible->maybe() inside isset is allowed now
1 parent 837a13e commit aeb00d9

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

tests/PHPStan/Rules/Arrays/NonexistentOffsetInArrayDimFetchRuleTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,6 @@ public function testRule(): void
111111
'Cannot access offset \'a\' on Closure(): void.',
112112
253,
113113
],
114-
[
115-
'Cannot access offset \'a\' on array{a: 1, b: 1}|(Closure(): void).',
116-
258,
117-
],
118114
[
119115
'Offset string does not exist on array<int, string>.',
120116
308,

0 commit comments

Comments
 (0)