mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
Do not panic when encountering errant global var
This commit is contained in:
parent
8e7ab59e2b
commit
59fa0977f9
@ -221,7 +221,7 @@ class StatementsChecker extends SourceChecker implements StatementsSource
|
||||
),
|
||||
$this->source->getSuppressedIssues()
|
||||
)) {
|
||||
return false;
|
||||
// fall through
|
||||
}
|
||||
} else {
|
||||
foreach ($stmt->vars as $var) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user