diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php index a1605ae03..30d39b047 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php @@ -329,7 +329,6 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\ if ($stmt->name instanceof PhpParser\Node\Identifier && !$is_mock) { $method_name_lc = strtolower($stmt->name->name); $method_id = $fq_class_name . '::' . $method_name_lc; - $cased_method_id = $fq_class_name . '::' . $stmt->name->name; $args = $stmt->args; @@ -346,7 +345,6 @@ class StaticCallAnalyzer extends \Psalm\Internal\Analyzer\Statements\Expression\ if ($codebase->methods->methodExists($intersection_method_id)) { $method_id = $intersection_method_id; $fq_class_name = $intersection_type->value; - $cased_method_id = $fq_class_name . '::' . $stmt->name->name; break; } } diff --git a/src/Psalm/Internal/ExecutionEnvironment/GitInfoCollector.php b/src/Psalm/Internal/ExecutionEnvironment/GitInfoCollector.php index 089251998..58ffbd733 100644 --- a/src/Psalm/Internal/ExecutionEnvironment/GitInfoCollector.php +++ b/src/Psalm/Internal/ExecutionEnvironment/GitInfoCollector.php @@ -22,8 +22,6 @@ class GitInfoCollector /** * Constructor. - * - * @param GitCommand $command Git command */ public function __construct() {