@@ -34,7 +34,7 @@ |
||
| 34 | 34 | * Upload image file. |
| 35 | 35 | * |
| 36 | 36 | * @param \Illuminate\Http\Request $request |
| 37 | - * @return array |
|
| 37 | + * @return \Illuminate\Http\JsonResponse |
|
| 38 | 38 | */ |
| 39 | 39 | public function uploadFile(Request $request) |
| 40 | 40 | { |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use App\Http\Controllers\Controller; |
| 6 | 6 | use Illuminate\Http\Request; |
| 7 | -use Yajra\CMS\Http\NotificationResponse; |
|
| 8 | 7 | use Symfony\Component\Finder\Finder; |
| 8 | +use Yajra\CMS\Http\NotificationResponse; |
|
| 9 | 9 | |
| 10 | 10 | /** |
| 11 | 11 | * Class ImageBrowserController |
@@ -5,11 +5,9 @@ |
||
| 5 | 5 | use Illuminate\Contracts\View\View; |
| 6 | 6 | use Illuminate\Support\ServiceProvider; |
| 7 | 7 | use Illuminate\Support\Str; |
| 8 | +use Symfony\Component\Finder\Finder; |
|
| 8 | 9 | use Yajra\Acl\Models\Permission; |
| 9 | -use Yajra\CMS\Entities\Category; |
|
| 10 | -use Yajra\CMS\Entities\Configuration; |
|
| 11 | 10 | use Yajra\CMS\Entities\Menu; |
| 12 | -use Symfony\Component\Finder\Finder; |
|
| 13 | 11 | |
| 14 | 12 | class ViewComposerServiceProvider extends ServiceProvider |
| 15 | 13 | { |