Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 22, 2022
1 parent 4fc35aa commit f6903ff
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Psalm/Type/Union.php
Expand Up @@ -428,6 +428,18 @@ public function freeze(): ImmutableUnion
if ($key === 'exact_id') {
continue;
}
if ($key === 'literal_string_types') {
continue;
}
if ($key === 'typed_class_strings') {
continue;
}
if ($key === 'literal_int_types') {
continue;
}
if ($key === 'literal_float_types') {
continue;
}
$union->{$key} = $value;
}
return $union;
Expand Down

0 comments on commit f6903ff

Please sign in to comment.