mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
parent
ae89a71c84
commit
8ed9007355
@ -435,7 +435,7 @@ class SimpleNegatedAssertionReconciler extends Reconciler
|
|||||||
bool $is_equality
|
bool $is_equality
|
||||||
) : Type\Union {
|
) : Type\Union {
|
||||||
$old_var_type_string = $existing_var_type->getId();
|
$old_var_type_string = $existing_var_type->getId();
|
||||||
$did_remove_type = false;
|
$did_remove_type = $existing_var_type->hasScalar();
|
||||||
|
|
||||||
if ($existing_var_type->hasType('false')) {
|
if ($existing_var_type->hasType('false')) {
|
||||||
$did_remove_type = true;
|
$did_remove_type = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user