@@ -2,7 +2,6 @@ |
||
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; |
@@ -51,7 +51,7 @@ discard block |
||
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 |
||
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 |