Completed
Push — master ( 1bd7cb...6e7c5d )
by David
12s
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(), [Format::GIF, Format::PNG]);
148 148
     }
149 149
 
150
+    /**
151
+     * @return resource
152
+     */
150 153
     protected function getImageResource(Image $image)
151 154
     {
152 155
         return Manipulator::create($image->getOutputFormat(), $image->getOriginalFullPath());
@@ -167,6 +170,9 @@  discard block
 block discarded – undo
167 170
         return [$cutEdgeWidth, $cutEdgeHeight];
168 171
     }
169 172
 
173
+    /**
174
+     * @param resource $layout
175
+     */
170 176
     protected function saveImage(Image $image, $layout, $width, $height): string
171 177
     {
172 178
         $this->createCacheDirectoryIfNotExists($image, $width, $height);
Please login to merge, or discard this patch.