mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fall through when checking for static/deprecated
This commit is contained in:
parent
49f7817a2a
commit
34c238c1a7
@ -700,7 +700,7 @@ class CallChecker
|
||||
new CodeLocation($statements_checker->getSource(), $stmt),
|
||||
$statements_checker->getSuppressedIssues()
|
||||
) === false) {
|
||||
return false;
|
||||
// fall through
|
||||
}
|
||||
}
|
||||
|
||||
@ -709,7 +709,7 @@ class CallChecker
|
||||
new CodeLocation($statements_checker->getSource(), $stmt),
|
||||
$statements_checker->getSuppressedIssues()
|
||||
) === false) {
|
||||
return false;
|
||||
// fall through
|
||||
}
|
||||
|
||||
$return_types = MethodChecker::getMethodReturnType($method_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user