From e0c24cbe7a037e0bbfa82eb723f08b53045ae758 Mon Sep 17 00:00:00 2001 From: cgocast Date: Mon, 2 Oct 2023 15:38:01 +0200 Subject: [PATCH] Remove unused parents_nodes --- .../Internal/Analyzer/Statements/Expression/CastAnalyzer.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/CastAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/CastAnalyzer.php index 9f082f3daeb..12285e2432e 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/CastAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/CastAnalyzer.php @@ -323,8 +323,6 @@ public static function castIntAttempt( $atomic_types = $stmt_type->getAtomicTypes(); - $parent_nodes = []; - $parent_nodes = $stmt_type->parent_nodes; while ($atomic_types) { @@ -511,8 +509,6 @@ public static function castFloatAttempt( $atomic_types = $stmt_type->getAtomicTypes(); - $parent_nodes = []; - $parent_nodes = $stmt_type->parent_nodes; while ($atomic_types) {