Completed
Pull Request — master (#1588)
by
unknown
01:34
created
src/Filesystem/Filesystem.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@
 block discarded – undo
68 68
             ->put($destination, $contents, $this->getRemoteHeadersForFile($file->getKey(), $media->getCustomHeaders(), $storage->mimeType($file->getKey())));
69 69
     }
70 70
 
71
+    /**
72
+     * @param string $type
73
+     */
71 74
     public function copyToMediaLibrary(string $pathToFile, Media $media, ?string $type = null, ?string $targetFileName = null)
72 75
     {
73 76
         $destinationFileName = $targetFileName ?: pathinfo($pathToFile, PATHINFO_BASENAME);
Please login to merge, or discard this patch.
src/Helpers/RemoteFile.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -21,6 +21,8 @@
 block discarded – undo
21 21
     /**
22 22
      * Constructor method.
23 23
      *
24
+     * @param string $key
25
+     * @param string $disk
24 26
      * @return void
25 27
      */
26 28
     public function __construct($key, $disk)
Please login to merge, or discard this patch.