@@ -61,7 +61,7 @@ |
||
| 61 | 61 | if (strlen($baseNumber) == 6) { |
| 62 | 62 | $charToCheck = substr($baseNumber, 0, 1); |
| 63 | 63 | } |
| 64 | - if (in_array($charToCheck, [6,7,9])) { |
|
| 64 | + if (in_array($charToCheck, [6, 7, 9])) { |
|
| 65 | 65 | return DigitCalculator::MODULE_11; |
| 66 | 66 | } |
| 67 | 67 | |
@@ -9,5 +9,5 @@ |
||
| 9 | 9 | * |
| 10 | 10 | * @return string Returns formatted number. |
| 11 | 11 | */ |
| 12 | - public function format() : string ; |
|
| 12 | + public function format() : string; |
|
| 13 | 13 | } |
@@ -129,7 +129,7 @@ |
||
| 129 | 129 | */ |
| 130 | 130 | public function withMultipliers(array $multipliers) : DigitCalculator |
| 131 | 131 | { |
| 132 | - $multipliers = array_map(function ($multiplier) { |
|
| 132 | + $multipliers = array_map(function($multiplier) { |
|
| 133 | 133 | if (!assert(is_int($multiplier))) { |
| 134 | 134 | throw new \InvalidArgumentException("The multiplier({$multiplier}) must be integer"); |
| 135 | 135 | } |