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 authored and samsonasik committed Apr 24, 2023
1 parent c86aba4 commit e6c95c1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,11 @@ public function mapToPhpParserNode(Type $type, string $typeKind): ?Node
if (! $this->phpVersionProvider->isAtLeastPhpVersion(PhpVersionFeature::SCALAR_TYPES)) {
return null;
}

if ($type->getMin() === null) {
return null;
}

if ($type->getMax() === null) {
return null;
}
Expand Down

0 comments on commit e6c95c1

Please sign in to comment.