Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
rajyan committed Jan 19, 2023
1 parent 1983e42 commit bd4da1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Type/UnionTypeHelper.php
Expand Up @@ -120,7 +120,7 @@ public static function sortTypes(array $types): array
*/
public static function sortIntegerTypes(array $types): array
{
usort($types, static function (Type $a, Type $b): int {
usort($types, static function (IntegerType $a, IntegerType $b): int {
if ($a instanceof IntegerRangeType && $b instanceof IntegerRangeType) {
return ($a->getMin() ?? PHP_INT_MIN) <=> ($b->getMin() ?? PHP_INT_MIN);
}
Expand Down

0 comments on commit bd4da1d

Please sign in to comment.