mirror of
https://github.com/danog/psalm.git
synced 2024-12-14 02:07:37 +01:00
this should have less impact
This commit is contained in:
parent
58e578e6a7
commit
854858a3bc
@ -357,7 +357,7 @@ class TemplateStandinTypeReplacer
|
|||||||
$input_key = substr($input_key, 0, $bracket_pos);
|
$input_key = substr($input_key, 0, $bracket_pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($input_key === $key || is_a($input_key, $key, true)) {
|
if ($input_key === $key) {
|
||||||
$matching_atomic_types[$atomic_input_type->getId()] = $atomic_input_type;
|
$matching_atomic_types[$atomic_input_type->getId()] = $atomic_input_type;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -484,6 +484,12 @@ class TemplateStandinTypeReplacer
|
|||||||
$atomic_input_type->as
|
$atomic_input_type->as
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (is_a($input_key, $key, true)) {
|
||||||
|
$matching_atomic_types[$atomic_input_type->getId()] = $atomic_input_type;
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user