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 Mar 19, 2021
1 parent b38f56f commit 330e0bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function createFromNode(Node $node, string $docContent): Node
$node = $this->phpDocNodeTraverser->traverseWithCallable($node, $docContent, function (
Node $node,
string $docContent
) {
): Node {
if ($node instanceof UnionTypeNode && ! $node instanceof AttributeAwareUnionTypeNode) {
return new AttributeAwareUnionTypeNode($node->types, $docContent);
}
Expand Down

0 comments on commit 330e0bc

Please sign in to comment.