@@ -70,9 +70,9 @@ |
||
| 70 | 70 | */ |
| 71 | 71 | private static function cost(int $cost): int |
| 72 | 72 | { |
| 73 | - if ($cost < 0 || $cost > \pow(2, 32)) { |
|
| 74 | - throw new \InvalidArgumentException("Hashing cost parameter must between 0 and 2^32"); |
|
| 75 | - } |
|
| 73 | + if ($cost < 0 || $cost > \pow(2, 32)) { |
|
| 74 | + throw new \InvalidArgumentException("Hashing cost parameter must between 0 and 2^32"); |
|
| 75 | + } |
|
| 76 | 76 | |
| 77 | 77 | return $cost; |
| 78 | 78 | } |