Commit f1704a3
Re-tighten bug-7963 @phpstan-return on unsealed
The two-stage collapse merged from 2.1.x preserves the per-position
record shape on unsealed too (the unsealed-types passes in
reduceArrays absorb same-signature variants before the list-collapse,
and the list-collapse now skips when every variant shares one
signature). The earlier "Fix tests: bug-7963, bug-13978" commit's
loosening of this @phpstan-return is therefore obsolete on unsealed —
revert that one part to match the sealed form already on 2.2.x.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent b927aff commit f1704a3
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments