@@ -85,9 +85,9 @@ |
||
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 | ); |