mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
parent
ae89a71c84
commit
8ed9007355
@ -435,7 +435,7 @@ class SimpleNegatedAssertionReconciler extends Reconciler
|
||||
bool $is_equality
|
||||
) : Type\Union {
|
||||
$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')) {
|
||||
$did_remove_type = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user