Completed
Push — master ( 23a2a1...1bd7cb )
by David
12s queued 10s
created
src/Cacher.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -147,6 +147,9 @@  discard block
 block discarded – undo
147 147
         return in_array($image->getType(), ['gif', 'png']);
148 148
     }
149 149
 
150
+    /**
151
+     * @return resource
152
+     */
150 153
     protected function getImageResource(Image $image)
151 154
     {
152 155
         if ($image->getOutputFormat() === 'jpeg') {
@@ -183,6 +186,9 @@  discard block
 block discarded – undo
183 186
         return [$cutEdgeWidth, $cutEdgeHeight];
184 187
     }
185 188
 
189
+    /**
190
+     * @param resource $layout
191
+     */
186 192
     protected function saveImage(Image $image, $layout, $width, $height): string
187 193
     {
188 194
         $this->createCacheDirectoryIfNotExists($image, $width, $height);
Please login to merge, or discard this patch.