1
0
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:
Matthew Brown 2016-12-31 09:25:04 -05:00
parent 49f7817a2a
commit 34c238c1a7

View File

@ -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);