From b3139719358969f965767648763466c861bfc6b2 Mon Sep 17 00:00:00 2001 From: Matthew Brown Date: Fri, 18 Jan 2019 11:57:52 -0500 Subject: [PATCH] Remove unused code --- .../Statements/Expression/Call/StaticCallAnalyzer.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php index 78e6d8d76..9580a3293 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php @@ -379,8 +379,6 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\ $class_storage = $codebase->classlike_storage_provider->get($fq_class_name); if (isset($class_storage->pseudo_static_methods[$method_name_lc])) { - $has_valid_method_call_type = true; - $pseudo_method_storage = $class_storage->pseudo_static_methods[$method_name_lc]; if (self::checkFunctionArguments( @@ -435,8 +433,6 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\ } } - $has_valid_method_call_type = true; - $array_values = array_map( /** * @return PhpParser\Node\Expr\ArrayItem