Completed
Push — master ( e1d8fe...9f8ac8 )
by Freek
01:50
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/Filesystem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         app(FileManipulator::class)->createDerivedFiles($media);
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $type
37
+     */
35 38
     public function copyToMediaLibrary(string $pathToFile, Media $media, ?string $type = null, ?string $targetFileName = null)
36 39
     {
37 40
         $destinationFileName = $targetFileName ?: pathinfo($pathToFile, PATHINFO_BASENAME);
Please login to merge, or discard this patch.
src/Models/Media.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@
 block discarded – undo
156 156
 
157 157
     /**
158 158
      * @param string $name
159
-     * @param mixed $value
159
+     * @param boolean $value
160 160
      *
161 161
      * @return $this
162 162
      */
Please login to merge, or discard this patch.
src/ResponsiveImages/ResponsiveImage.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@
 block discarded – undo
15 15
     /** @var \Spatie\MediaLibrary\Models\Media */
16 16
     public $media;
17 17
 
18
+    /**
19
+     * @param string $fileName
20
+     * @param string $conversionName
21
+     */
18 22
     public static function register(Media $media, $fileName, $conversionName)
19 23
     {
20 24
         $responsiveImages = $media->responsive_images;
Please login to merge, or discard this patch.