mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
fix sealed array combination
This commit is contained in:
parent
870f5817d2
commit
3957eb753a
@ -1507,6 +1507,7 @@ class TypeCombiner
|
|||||||
|| ($combination->array_sometimes_filled && $overwrite_empty_array)
|
|| ($combination->array_sometimes_filled && $overwrite_empty_array)
|
||||||
|| ($combination->objectlike_entries
|
|| ($combination->objectlike_entries
|
||||||
&& $combination->objectlike_sealed
|
&& $combination->objectlike_sealed
|
||||||
|
&& ($combination->array_min_counts[0] ?? false) !== true
|
||||||
&& $overwrite_empty_array)
|
&& $overwrite_empty_array)
|
||||||
) {
|
) {
|
||||||
if ($combination->all_arrays_lists) {
|
if ($combination->all_arrays_lists) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user