Passed
Push — master ( 8eb6c3...8951af )
by Sebastian
08:56
created
src/ImageHelper.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -137,8 +137,7 @@  discard block
 block discarded – undo
137 137
             $this->sourceImage = $resource;
138 138
             $this->type = $type;
139 139
             $this->info = self::getImageSize($resource);
140
-        } 
141
-        else 
140
+        } else 
142 141
         {
143 142
             $this->file = $sourceFile;
144 143
             if (!file_exists($this->file)) {
@@ -580,8 +579,7 @@  discard block
 block discarded – undo
580 579
         if ($this->width <= $this->height) 
581 580
         {
582 581
             $this->resampleByWidth($width);
583
-        } 
584
-        else 
582
+        } else 
585 583
         {
586 584
             $this->resampleByHeight($height);
587 585
         }
Please login to merge, or discard this patch.