Skip to content

Commit

Permalink
fix type hints
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmajor committed Jul 2, 2021
1 parent 7e2c8bb commit c27bffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/operands.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Major\PluralRules\Operands;

function mod(int|float $number, $divisor): int|float
function mod(int|float $number, int $divisor): float
{
return $number % $divisor + $number - round($number);
}
Expand Down

0 comments on commit c27bffa

Please sign in to comment.