From 70bfce769cc1c7a7654d27449fe31288f084f614 Mon Sep 17 00:00:00 2001 From: orklah Date: Sun, 10 Oct 2021 10:00:44 +0200 Subject: [PATCH] revert back wrong change --- src/Psalm/Internal/Analyzer/Statements/Block/DoAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Block/DoAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Block/DoAnalyzer.php index b09b98978..1902c5785 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Block/DoAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Block/DoAnalyzer.php @@ -92,7 +92,7 @@ class DoAnalyzer if (LoopAnalyzer::analyze( $statements_analyzer, $stmt->stmts, - WhileAnalyzer::getAndExpressions($stmt->cond), + [$stmt->cond], [], $loop_scope, $inner_loop_context,