Passed
Push — master ( dea3b6...a3688d )
by Mohammed
36s queued 11s
created
src/helpers/Validation.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
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.');
Please login to merge, or discard this patch.
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,9 +9,10 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.