@@ -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 |