Passed
Pull Request — master (#303)
by
unknown
10:42
created
src/Manipulators/Size.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
      */
248 248
     public function runContainResize(Image $image, $width, $height)
249 249
     {
250
-        return $image->resize($width, $height, function ($constraint) {
250
+        return $image->resize($width, $height, function($constraint) {
251 251
             $constraint->aspectRatio();
252 252
         });
253 253
     }
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
      */
262 262
     public function runMaxResize(Image $image, $width, $height)
263 263
     {
264
-        return $image->resize($width, $height, function ($constraint) {
264
+        return $image->resize($width, $height, function($constraint) {
265 265
             $constraint->aspectRatio();
266 266
             $constraint->upsize();
267 267
         });
@@ -306,7 +306,7 @@  discard block
 block discarded – undo
306 306
 
307 307
         $zoom = $this->getCrop()[2];
308 308
 
309
-        $image->resize($resize_width * $zoom, $resize_height * $zoom, function ($constraint) {
309
+        $image->resize($resize_width * $zoom, $resize_height * $zoom, function($constraint) {
310 310
             $constraint->aspectRatio();
311 311
         });
312 312
 
Please login to merge, or discard this patch.
src/Manipulators/Border.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@
 block discarded – undo
127 127
             $width / 2,
128 128
             $image->width() - ($width / 2),
129 129
             $image->height() - ($width / 2),
130
-            function ($draw) use ($width, $color) {
130
+            function($draw) use ($width, $color) {
131 131
                 $draw->border($width, $color);
132 132
             }
133 133
         );
Please login to merge, or discard this patch.
src/Manipulators/Encode.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
 
23 23
         if (in_array($format, ['jpg', 'pjpg'], true)) {
24 24
             $image = $image->getDriver()
25
-                           ->newImage($image->width(), $image->height(), '#fff')
26
-                           ->insert($image, 'top-left', 0, 0);
25
+                            ->newImage($image->width(), $image->height(), '#fff')
26
+                            ->insert($image, 'top-left', 0, 0);
27 27
         }
28 28
 
29 29
         if ($format === 'pjpg') {
Please login to merge, or discard this patch.