Skip to content

Commit

Permalink
final touch: comment rollback
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Jul 23, 2022
1 parent 2d9337f commit 04ed0fc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -279,7 +279,7 @@ private function matchPhpParserUnionType(UnionType $unionType, string $typeKind)
$phpParserUnionedTypes = [];

foreach ($unionType->getTypes() as $unionedType) {
// void,mixed, and intersection type are not allowed in union
// void type and mixed type are not allowed in union
if (in_array($unionedType::class, [MixedType::class, VoidType::class], true)) {
return null;
}
Expand Down

0 comments on commit 04ed0fc

Please sign in to comment.