@@ -5,8 +5,8 @@ |
||
5 | 5 | use Illuminate\Contracts\Cache\Repository; |
6 | 6 | use Spatie\MediaLibrary\Exceptions\FileCannotBeImported; |
7 | 7 | use Spatie\MediaLibrary\Exceptions\FileDoesNotExist; |
8 | -use Spatie\MediaLibrary\Exceptions\FilesystemDoesNotExist; |
|
9 | 8 | use Spatie\MediaLibrary\Exceptions\FileTooBig; |
9 | +use Spatie\MediaLibrary\Exceptions\FilesystemDoesNotExist; |
|
10 | 10 | use Spatie\MediaLibrary\Filesystem; |
11 | 11 | use Spatie\MediaLibrary\Media; |
12 | 12 | use Symfony\Component\HttpFoundation\File\File; |
@@ -128,6 +128,7 @@ |
||
128 | 128 | /** |
129 | 129 | * Determine if the media item has a custom property with the given name. |
130 | 130 | * |
131 | + * @param string $propertyName |
|
131 | 132 | * @return bool |
132 | 133 | */ |
133 | 134 | public function hasCustomProperty($propertyName) |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace Spatie\MediaLibrary; |
4 | 4 | |
5 | -use Spatie\MediaLibrary\HasMedia\Interfaces\HasMedia; |
|
6 | 5 | use Illuminate\Support\Collection; |
6 | +use Spatie\MediaLibrary\HasMedia\Interfaces\HasMedia; |
|
7 | 7 | |
8 | 8 | class MediaRepository |
9 | 9 | { |