Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Jul 1, 2024
1 parent 31969f6 commit 97b0359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public function mapToPhpParserNode(Type $type, string $typeKind): ?Node

/**
* If type is nullable, and has only one other value,
* this creates at least "?Type" in case of PHP 7.4 and lower
* this creates at least "?Type" in case of PHP 7.1-7.4
*/
private function resolveTypeWithNullablePHPParserUnionType(
PhpParserUnionType $phpParserUnionType
Expand Down

0 comments on commit 97b0359

Please sign in to comment.