Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizen-ci committed Apr 12, 2021
1 parent 28ba5d1 commit 369d232
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Rector\DowngradePhp70\Rector\Declare_;

use PhpParser\Node;
use PhpParser\Node\Expr;
use PhpParser\Node\Expr\FuncCall;
use PhpParser\Node\Stmt\Declare_;
use Rector\Core\Rector\AbstractRector;
Expand Down Expand Up @@ -43,7 +42,7 @@ public function getRuleDefinition(): RuleDefinition
}

/**
* @param FuncCall $node
* @param Declare_ $node
*/
public function refactor(Node $node): ?Node
{
Expand All @@ -61,7 +60,7 @@ private function shouldSkip(FuncCall $funcCall): bool
return true;
}

$args = $funcCall->args;
$args = $funcCall->args;
$assign = $args[0];

dump($assign);
Expand Down

0 comments on commit 369d232

Please sign in to comment.