Skip to content

Commit afaeb6e

Browse files
Update tests
1 parent a9145fb commit afaeb6e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
3-
"message": "Cannot assign offset int to SplObjectStorage.",
3+
"message": "Cannot assign offset int to SplObjectStorage<object, mixed>.",
44
"line": 35,
55
"ignorable": true
66
}
7-
]
7+
]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[
22
{
3-
"message": "Cannot assign offset int|object to SplObjectStorage.",
3+
"message": "Cannot assign offset int|object to SplObjectStorage<object, mixed>.",
44
"line": 27,
55
"ignorable": true
66
}
7-
]
7+
]

tests/PHPStan/Rules/Arrays/OffsetAccessAssignmentRuleTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function testOffsetAccessAssignmentToScalar(): void
5858
68,
5959
],
6060
[
61-
'Cannot assign offset array(1, 2, 3) to SplObjectStorage.',
61+
'Cannot assign offset array(1, 2, 3) to SplObjectStorage<object, mixed>.',
6262
72,
6363
],
6464
[
@@ -100,7 +100,7 @@ public function testOffsetAccessAssignmentToScalarWithoutMaybes(): void
100100
68,
101101
],
102102
[
103-
'Cannot assign offset array(1, 2, 3) to SplObjectStorage.',
103+
'Cannot assign offset array(1, 2, 3) to SplObjectStorage<object, mixed>.',
104104
72,
105105
],
106106
[

0 commit comments

Comments
 (0)