Passed
Branch 0.5 (404206)
by Philippe
05:17
created
src/Models/AssetUploader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@
 block discarded – undo
52 52
      * Uploads the file/files or asset by creating the
53 53
      * asset that is needed to upload the files too.
54 54
      *
55
-     * @param $file
55
+     * @param string $file
56 56
      * @param string|null $filename
57 57
      * @param bool $keepOriginal
58
-     * @return \Illuminate\Support\Collection|null|Asset
58
+     * @return null|Asset
59 59
      * @throws \Spatie\MediaLibrary\Exceptions\FileCannotBeAdded
60 60
      * @internal param array|string $files
61 61
      */
Please login to merge, or discard this patch.
src/Traits/AssetTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      * @param $file
73 73
      * @param string $type
74 74
      * @param string|null $locale
75
-     * @param null $filename
75
+     * @param string $filename
76 76
      * @param bool $keepOriginal
77 77
      * @throws \Spatie\MediaLibrary\Exceptions\FileCannotBeAdded
78 78
      * @throws \Thinktomorrow\AssetLibrary\Exceptions\AssetUploadException
Please login to merge, or discard this patch.