@@ -350,8 +350,7 @@ |
||
| 350 | 350 | $amount = round(abs(-18 + ($amount * 0.08)), 2); |
| 351 | 351 | |
| 352 | 352 | // Gaussian blur matrix |
| 353 | - $matrix = array |
|
| 354 | - ( |
|
| 353 | + $matrix = array( |
|
| 355 | 354 | array(-1, -1, -1), |
| 356 | 355 | array(-1, $amount, -1), |
| 357 | 356 | array(-1, -1, -1), |
@@ -332,7 +332,7 @@ |
||
| 332 | 332 | $this->type = $type; |
| 333 | 333 | $this->mime = image_type_to_mime_type($type); |
| 334 | 334 | |
| 335 | - return (string)$this->im; |
|
| 335 | + return (string) $this->im; |
|
| 336 | 336 | } |
| 337 | 337 | |
| 338 | 338 | /** |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | // Set the class name |
| 43 | - $class = 'image\components\drivers\Image_' . $driver; |
|
| 43 | + $class = 'image\components\drivers\Image_'.$driver; |
|
| 44 | 44 | |
| 45 | 45 | return new $class($file); |
| 46 | 46 | } |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | public function rotate($degrees) |
| 314 | 314 | { |
| 315 | 315 | // Make the degrees an integer |
| 316 | - $degrees = (int)$degrees; |
|
| 316 | + $degrees = (int) $degrees; |
|
| 317 | 317 | |
| 318 | 318 | if ($degrees > 180) { |
| 319 | 319 | do { |