Completed
Push — master ( cc2654...594413 )
by Daniel
02:44
created
src/Gwa/Image/Dimensions.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -9,6 +9,8 @@
 block discarded – undo
9 9
     /**
10 10
      * @param int $maxwidth
11 11
      * @param int $maxheight
12
+     * @param integer $width
13
+     * @param integer $height
12 14
      * @return \stdClass
13 15
      */
14 16
     public function resizeToWithin($width, $height, $maxwidth, $maxheight)
Please login to merge, or discard this patch.
src/Gwa/Image/ImageEditor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -53,11 +53,11 @@  discard block
 block discarded – undo
53 53
         }
54 54
 
55 55
         if (!file_exists($filepath)) {
56
-            throw new \InvalidArgumentException('File does not exist: ' . $filepath);
56
+            throw new \InvalidArgumentException('File does not exist: '.$filepath);
57 57
         }
58 58
 
59 59
         if (!is_readable($filepath)) {
60
-            throw new \Exception('File is not readable: ' . $filepath);
60
+            throw new \Exception('File is not readable: '.$filepath);
61 61
         }
62 62
 
63 63
         $this->filepath = $filepath;
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
      */
386 386
     public function output($quality = self::DEFAULT_JPEG_QUALITY)
387 387
     {
388
-        header('Content-type: ' . $this->mimetype);
388
+        header('Content-type: '.$this->mimetype);
389 389
         $this->outputImage(null, $quality);
390 390
     }
391 391
 
Please login to merge, or discard this patch.