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:
parent
c935dfd990
commit
d4f1a4a75f
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -22,8 +22,6 @@ class GitInfoCollector
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param GitCommand $command Git command
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user