@@ -123,7 +123,7 @@ |
||
123 | 123 | */ |
124 | 124 | public function withMultipliers(array $multipliers) |
125 | 125 | { |
126 | - $multipliers = array_map(function ($multiplier) { |
|
126 | + $multipliers = array_map(function($multiplier) { |
|
127 | 127 | if (!assert(is_int($multiplier))) { |
128 | 128 | throw new \InvalidArgumentException("The multiplier({$multiplier}) must be integer"); |
129 | 129 | } |
@@ -34,6 +34,9 @@ |
||
34 | 34 | parent::__construct($number, self::LENGTH, self::DIGIT_COUNT, self::LABEL); |
35 | 35 | } |
36 | 36 | |
37 | + /** |
|
38 | + * @param string $number |
|
39 | + */ |
|
37 | 40 | public function defineCalculator($number) |
38 | 41 | { |
39 | 42 | $this->calculator = new CnsCalculator(); |