1
0
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:
Daniil Gentili 2022-12-04 00:03:11 +01:00
parent b214717149
commit 72196e032f

View File

@ -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;