mirror of
https://github.com/danog/psalm.git
synced 2024-11-29 20:28:59 +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
|
||||
&& $input_type_part instanceof TNamedObject
|
||||
&& $container_type_part->is_static
|
||||
&& !$input_type_part->is_static
|
||||
&& !$container_type_part->is_static
|
||||
&& $input_type_part->is_static
|
||||
) {
|
||||
if ($atomic_comparison_result) {
|
||||
$atomic_comparison_result->type_coerced = true;
|
||||
|
Loading…
Reference in New Issue
Block a user