1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Remove unused variables/comment params

This commit is contained in:
Tyson Andre 2019-05-11 20:11:31 -04:00 committed by Matthew Brown
parent c935dfd990
commit d4f1a4a75f
2 changed files with 0 additions and 4 deletions

View File

@ -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;
}
}

View File

@ -22,8 +22,6 @@ class GitInfoCollector
/**
* Constructor.
*
* @param GitCommand $command Git command
*/
public function __construct()
{