Passed
Branch feature/cropping (36d499)
by Philippe
43:28
created
src/Traits/AssetTrait.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Thinktomorrow\AssetLibrary\Traits;
4 4
 
5
-use Illuminate\Support\Collection;
6 5
 use Thinktomorrow\AssetLibrary\Models\Asset;
7 6
 use Thinktomorrow\AssetLibrary\Models\AssetUploader;
8 7
 use Thinktomorrow\Locale\Locale;
Please login to merge, or discard this patch.
src/Models/AssetUploader.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
      * Uploads the file/files or asset by creating the
52 52
      * asset that is needed to upload the files too.
53 53
      *
54
-     * @param $files
54
+     * @param string $files
55 55
      * @param null $filename
56 56
      * @param bool $keepOriginal
57 57
      * @return \Illuminate\Support\Collection|null|Asset
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      *
84 84
      * @param $files
85 85
      * @param Asset $asset
86
-     * @param null $filename
86
+     * @param boolean $filename
87 87
      * @param bool $keepOriginal
88 88
      * @return null|Asset
89 89
      * @throws \Spatie\MediaLibrary\Exceptions\FileCannotBeAdded
Please login to merge, or discard this patch.