From e5880571d96620f62e4e63207f8c11ad40e0a3cb Mon Sep 17 00:00:00 2001 From: Brown Date: Tue, 22 Sep 2020 01:10:04 -0400 Subject: [PATCH] Add missing = true --- src/Psalm/Internal/Analyzer/Statements/Block/TryAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Block/TryAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Block/TryAnalyzer.php index 85fea6dd4..3d91a0868 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Block/TryAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Block/TryAnalyzer.php @@ -526,7 +526,7 @@ class TryAnalyzer $statements_analyzer->analyze($stmt->finally->stmts, $finally_context); if ($finally_context->has_returned) { - $context->has_returned; + $context->has_returned = true; } /** @var string $var_id */