mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Unbreak CI
This commit is contained in:
parent
8d63dfec0a
commit
96af3e041c
@ -34,6 +34,7 @@ use Psalm\Type\Atomic\TNumeric;
|
||||
use Psalm\Internal\Type\TypeCombination;
|
||||
use function array_diff_key;
|
||||
use function array_values;
|
||||
use function preg_match;
|
||||
use function strtolower;
|
||||
|
||||
/**
|
||||
|
@ -415,7 +415,7 @@ class TypeParser
|
||||
$last_type = \end($intersection_types);
|
||||
|
||||
$onlyTKeyedArray = $first_type instanceof TKeyedArray
|
||||
&& $last_type instanceof TKeyedArray;
|
||||
|| $last_type instanceof TKeyedArray;
|
||||
|
||||
foreach ($intersection_types as $intersection_type) {
|
||||
if (!$intersection_type instanceof TKeyedArray
|
||||
|
Loading…
Reference in New Issue
Block a user