@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Padosoft\Uploadable; |
| 4 | 4 | |
| 5 | +use DB; |
|
| 5 | 6 | use Illuminate\Database\Eloquent\Model; |
| 6 | 7 | use Illuminate\Http\Request; |
| 7 | 8 | use Illuminate\Http\UploadedFile; |
| 8 | -use DB; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Class Uploadable |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | /** |
| 127 | 127 | * Array of upload attributes |
| 128 | 128 | * Ex.: ['image', 'image_mobile']; |
| 129 | - * @param array $attributes |
|
| 129 | + * @param string[] $attributes |
|
| 130 | 130 | * @return UploadOptions |
| 131 | 131 | */ |
| 132 | 132 | public function setUploadsAttributes(array $attributes): UploadOptions |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | * ]; |
| 147 | 147 | * A full listing of MIME types and their corresponding extensions may be found |
| 148 | 148 | * at the following location: http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types |
| 149 | - * @param array $mime |
|
| 149 | + * @param string[] $mime |
|
| 150 | 150 | * @return UploadOptions |
| 151 | 151 | */ |
| 152 | 152 | public function setMimeType(array $mime): UploadOptions |