@@ -9,7 +9,7 @@ |
||
9 | 9 | |
10 | 10 | public function initValidation() |
11 | 11 | { |
12 | - if(is_numeric($this->parsed_number)) |
|
12 | + if (is_numeric($this->parsed_number)) |
|
13 | 13 | return $this; |
14 | 14 | else |
15 | 15 | throw new \TypeError('The amount must be a numeric.'); |
@@ -9,9 +9,10 @@ |
||
9 | 9 | |
10 | 10 | public function initValidation() |
11 | 11 | { |
12 | - if(is_numeric($this->parsed_number)) |
|
13 | - return $this; |
|
14 | - else |
|
15 | - throw new \TypeError('The amount must be a numeric.'); |
|
12 | + if(is_numeric($this->parsed_number)) { |
|
13 | + return $this; |
|
14 | + } else { |
|
15 | + throw new \TypeError('The amount must be a numeric.'); |
|
16 | + } |
|
16 | 17 | } |
17 | 18 | } |