Completed
Pull Request — master (#987)
by Brent
02:19
created
src/Conversion/ConversionCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
      *
48 48
      * @param string $name
49 49
      *
50
-     * @return mixed
50
+     * @return Conversion
51 51
      *
52 52
      * @throws \Spatie\MediaLibrary\Exceptions\InvalidConversion
53 53
      */
Please login to merge, or discard this patch.
src/Filesystem/DefaultFilesystem.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -76,6 +76,9 @@  discard block
 block discarded – undo
76 76
         return array_merge($mimeTypeHeader, $extraHeaders, $this->customRemoteHeaders, $mediaCustomHeaders);
77 77
     }
78 78
 
79
+    /**
80
+     * @return resource
81
+     */
79 82
     public function getStream(Media $media)
80 83
     {
81 84
         $sourceFile = $this->getMediaDirectory($media).'/'.$media->file_name;
@@ -162,6 +165,9 @@  discard block
 block discarded – undo
162 165
         }
163 166
     }
164 167
 
168
+    /**
169
+     * @param string $oldFileName
170
+     */
165 171
     protected function renameResponsiveImages(Media $media, $oldFileName)
166 172
     {
167 173
         $newFileName = pathinfo($media->file_name, PATHINFO_FILENAME);
Please login to merge, or discard this patch.