mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
Fall through with PossiblyInvalidIterator issue
This commit is contained in:
parent
739f2c7faf
commit
d530fce4b3
@ -621,7 +621,7 @@ class ForeachAnalyzer
|
||||
),
|
||||
$statements_analyzer->getSuppressedIssues()
|
||||
)) {
|
||||
return false;
|
||||
// fall through
|
||||
}
|
||||
} else {
|
||||
if (IssueBuffer::accepts(
|
||||
@ -631,7 +631,7 @@ class ForeachAnalyzer
|
||||
),
|
||||
$statements_analyzer->getSuppressedIssues()
|
||||
)) {
|
||||
return false;
|
||||
// fall through
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user