mirror of
https://github.com/danog/psalm.git
synced 2024-12-02 09:37:59 +01:00
Only warn about undefined this vars once
This commit is contained in:
parent
9dc0a088ea
commit
212edcd16b
@ -1314,6 +1314,9 @@ class StatementsChecker
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$context->vars_in_scope[$var_id] = Type::getMixed();
|
||||||
|
$stmt->inferredType = Type::getMixed();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user