Completed
Pull Request — master (#6)
by Vytautas
05:36
created
src/Controller/ImageController.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     /**
114 114
      * Guess MimeType by extension
115 115
      *
116
-     * @param $filename
116
+     * @param string $filename
117 117
      *
118 118
      * @return string
119 119
      * @throws SvImagesException
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
             ->addHeaderLine('Content-Length', $contentLength)
104 104
             // fixme: maybe add cache options to config
105 105
             ->addHeaderLine('Cache-Control', 'max-age=31536000, public')
106
-            ->addHeaderLine('Expires', date_create('+1 years')->format('D, d M Y H:i:s').' GMT');
106
+            ->addHeaderLine('Expires', date_create('+1 years')->format('D, d M Y H:i:s') . ' GMT');
107 107
 
108 108
         $response->setContent($content);
109 109
 
Please login to merge, or discard this patch.
src/Transformer/Fit.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
         $image->fit(
58 58
             $options['width'],
59 59
             $options['height'],
60
-            function ($constraint) {
60
+            function($constraint) {
61 61
                 $constraint->upsize();
62 62
             },
63 63
             $options['position']
Please login to merge, or discard this patch.