Repository navigation
Commit 9b64695
Do not assert the type of an unpacked array_map() arg
The test asserted array{4, 5, 6} for the parameter of an unpacked arg.
At runtime the parameter gets 4, 5 and 6. PHPStan already inferred this
wrong type before this change, so the test must not lock it in.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent f7a30e1 commit 9b64695
1 file changed
Lines changed: 0 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 59 | | |
69 | 60 | | |
70 | 61 | | |
| |||
0 commit comments