Skip to content

Commit

Permalink
Remove unused variables/comment params
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonAndre authored and muglug committed May 12, 2019
1 parent c935dfd commit d4f1a4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Expand Up @@ -329,7 +329,6 @@ public static function analyze(
if ($stmt->name instanceof PhpParser\Node\Identifier && !$is_mock) { if ($stmt->name instanceof PhpParser\Node\Identifier && !$is_mock) {
$method_name_lc = strtolower($stmt->name->name); $method_name_lc = strtolower($stmt->name->name);
$method_id = $fq_class_name . '::' . $method_name_lc; $method_id = $fq_class_name . '::' . $method_name_lc;
$cased_method_id = $fq_class_name . '::' . $stmt->name->name;


$args = $stmt->args; $args = $stmt->args;


Expand All @@ -346,7 +345,6 @@ public static function analyze(
if ($codebase->methods->methodExists($intersection_method_id)) { if ($codebase->methods->methodExists($intersection_method_id)) {
$method_id = $intersection_method_id; $method_id = $intersection_method_id;
$fq_class_name = $intersection_type->value; $fq_class_name = $intersection_type->value;
$cased_method_id = $fq_class_name . '::' . $stmt->name->name;
break; break;
} }
} }
Expand Down
2 changes: 0 additions & 2 deletions src/Psalm/Internal/ExecutionEnvironment/GitInfoCollector.php
Expand Up @@ -22,8 +22,6 @@ class GitInfoCollector


/** /**
* Constructor. * Constructor.
*
* @param GitCommand $command Git command
*/ */
public function __construct() public function __construct()
{ {
Expand Down

0 comments on commit d4f1a4a

Please sign in to comment.