Passed
Push — master ( f53c15...e7ac2a )
by Bruno
09:12
created
Formularium/Validator/Image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,9 +85,9 @@
 block discarded – undo
85 85
                     'Zero width or height'
86 86
                 );
87 87
             }
88
-            $ratio = $width/$height;
88
+            $ratio = $width / $height;
89 89
             $expected = $ratio;
90
-            if (abs(($ratio-$expected)/$expected) > 0.0001) {
90
+            if (abs(($ratio - $expected) / $expected) > 0.0001) {
91 91
                 throw new ValidatorException(
92 92
                     'Image width/height ratio should be ' . $ratio
93 93
                 );
Please login to merge, or discard this patch.