Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 6, 2021
1 parent 79e1ecd commit df15706
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PhpParser\Node;
use PhpParser\Node\Expr\Array_;
use PhpParser\Node\Expr\MethodCall;
use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
Expand Down Expand Up @@ -53,15 +54,15 @@ public function run(ReflectionClass $reflectionClass)
}

/**
* @return array<class-string<\PhpParser\Node>>
* @return array<class-string<Node>>
*/
public function getNodeTypes(): array
{
return [\PhpParser\Node\Expr\MethodCall::class];
return [MethodCall::class];
}

/**
* @param \PhpParser\Node\Expr\MethodCall $node
* @param MethodCall $node
*/
public function refactor(Node $node): ?Node
{
Expand Down

0 comments on commit df15706

Please sign in to comment.