@@ -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 | } |