Skip to content

Commit

Permalink
in function
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Dec 11, 2023
1 parent 62c6fd7 commit ce5a94e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public function refactor(Node $node): ?Node
$node->returnType = new Identifier('mixed');

$phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($node);
$this->phpDocTypeChanger->changeReturnType($node, $phpDocInfo, new \PHPStan\Type\NullType());
$this->phpDocTypeChanger->changeReturnType($node, $phpDocInfo, new NullType());

return $node;
}
Expand Down

0 comments on commit ce5a94e

Please sign in to comment.