@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | throw new InvalidArgumentException('Mode argument must be a boolean.'); |
| 64 | 64 | } |
| 65 | 65 | |
| 66 | - $this->strict_mode = (bool)$mode; |
|
| 66 | + $this->strict_mode = (bool) $mode; |
|
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** @var int */ |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | } |
| 311 | 311 | |
| 312 | 312 | if (is_float($amount)) { |
| 313 | - $amount = (int)($amount * 100); |
|
| 313 | + $amount = (int) ($amount * 100); |
|
| 314 | 314 | } elseif (!is_int($amount)) { |
| 315 | 315 | throw new InvalidArgumentException('Amount must be either float or int'); |
| 316 | 316 | } |