Skip to content
Permalink
Browse files

Don’t quit after a bad run

  • Loading branch information...
muglug committed Jun 15, 2019
1 parent 485d007 commit 9c03dfa1d303241014724bd6a9d136138867acc8
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/Psalm/Internal/Analyzer/Statements/Expression/Call/FunctionCallAnalyzer.php
@@ -70,7 +70,7 @@ public static function analyze(
if ($stmt->name instanceof PhpParser\Node\Expr) {
if (ExpressionAnalyzer::analyze($statements_analyzer, $stmt->name, $context) === false) {
return false;
return;
}
if (isset($stmt->name->inferredType)) {
@@ -161,7 +161,7 @@ public static function analyze(
new CodeLocation($statements_analyzer->getSource(), $stmt),
$statements_analyzer
) === false) {
return false;
return;
}
$invokable_return_type = $codebase->methods->getMethodReturnType(
@@ -191,7 +191,7 @@ public static function analyze(
),
$statements_analyzer->getSuppressedIssues()
)) {
return false;
return;
}
} else {
if (IssueBuffer::accepts(
@@ -201,7 +201,7 @@ public static function analyze(
),
$statements_analyzer->getSuppressedIssues()
)) {
return false;
return;
}
}
}

0 comments on commit 9c03dfa

Please sign in to comment.
You can’t perform that action at this time.