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 12, 2024
1 parent 03ef7e9 commit 2248f52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public function narrow(Type $paramType): Type
if ($className === 'PhpCsFixer\Doctrine\Annotation\Tokens') {
$types[] = new ObjectType('PhpCsFixer\Doctrine\Annotation\Token');
}

return $paramType;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public function enterNode(Node $node): ?Node
if (! $oldType instanceof ObjectType) {
continue;
}

if (! $objectType->equals($oldType)) {
continue;
}
Expand Down

0 comments on commit 2248f52

Please sign in to comment.