@@ -52,10 +52,10 @@ |
||
| 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 | */ |