@@ -208,9 +208,9 @@ |
||
| 208 | 208 | 'Zero width or height' |
| 209 | 209 | ); |
| 210 | 210 | } |
| 211 | - $ratio = $width/$height; |
|
| 211 | + $ratio = $width / $height; |
|
| 212 | 212 | $expected = $ratio; |
| 213 | - if (abs(($ratio-$expected)/$expected) > 0.0001) { |
|
| 213 | + if (abs(($ratio - $expected) / $expected) > 0.0001) { |
|
| 214 | 214 | throw new ValidatorException( |
| 215 | 215 | 'Image width/height ratio should be ' . $ratio |
| 216 | 216 | ); |