mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fix static logic
This commit is contained in:
parent
b214717149
commit
72196e032f
@ -326,8 +326,8 @@ class AtomicTypeComparator
|
|||||||
|
|
||||||
if ($container_type_part instanceof TNamedObject
|
if ($container_type_part instanceof TNamedObject
|
||||||
&& $input_type_part instanceof TNamedObject
|
&& $input_type_part instanceof TNamedObject
|
||||||
&& $container_type_part->is_static
|
&& !$container_type_part->is_static
|
||||||
&& !$input_type_part->is_static
|
&& $input_type_part->is_static
|
||||||
) {
|
) {
|
||||||
if ($atomic_comparison_result) {
|
if ($atomic_comparison_result) {
|
||||||
$atomic_comparison_result->type_coerced = true;
|
$atomic_comparison_result->type_coerced = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user