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 Jul 31, 2023
1 parent aa526ad commit 98d580a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Rector/v12/v0/typo3/AbstractMessageGetSeverityRector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use PhpParser\Node;
use PhpParser\Node\Expr\MethodCall;
use PhpParser\Node\Identifier;
use PHPStan\Type\ObjectType;
use Rector\Core\Rector\AbstractRector;
use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample;
Expand Down Expand Up @@ -40,7 +41,7 @@ public function refactor(Node $node)

$nextNode = $this->betterNodeFinder->resolveNextNode($node);

if ($nextNode instanceof Node\Identifier && $this->isName($nextNode, 'value')) {
if ($nextNode instanceof Identifier && $this->isName($nextNode, 'value')) {
return null;
}

Expand Down

0 comments on commit 98d580a

Please sign in to comment.