Commit 1fc7c68
Fix InspectorTypeExtensionTest failure with PHPStan HEAD (#991)
PHPStan HEAD no longer infers mixed~null (introduced in 2.1.47) in this
scope after reassigning $array. Revert the fixture expectation to mixed.
The instanceof MixedType check in InspectorTypeExtension::specifyAssertAll()
remains correct as it handles both mixed and mixed~null inputs.
https://claude.ai/code/session_01HQDbrBSq6Hs6sZNLpZGq5z
Co-authored-by: Claude <noreply@anthropic.com>1 parent b61426d commit 1fc7c68
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments