@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php namespace Cviebrock\ImageValidator; |
| 2 | 2 | |
| 3 | 3 | use Illuminate\Support\ServiceProvider; |
| 4 | -use Illuminate\Validation\Factory; |
|
| 5 | 4 | |
| 6 | 5 | class ImageValidatorServiceProvider extends ServiceProvider |
| 7 | 6 | { |
@@ -1,9 +1,9 @@ |
||
| 1 | 1 | <?php namespace Cviebrock\ImageValidator; |
| 2 | 2 | |
| 3 | +use Illuminate\Contracts\Validation\Validator as ValidatorContract; |
|
| 3 | 4 | use Illuminate\Validation\Validator; |
| 4 | 5 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
| 5 | 6 | use Symfony\Component\Translation\TranslatorInterface; |
| 6 | -use Illuminate\Contracts\Validation\Validator as ValidatorContract; |
|
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | class ImageValidator extends Validator implements ValidatorContract |