File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55use Binaryk \LaravelRestify \Contracts \RestifySearchable ;
66use Binaryk \LaravelRestify \Repositories \Repository ;
77use Binaryk \LaravelRestify \Repositories \RepositoryCollection ;
8+ use Illuminate \Contracts \Pagination \LengthAwarePaginator ;
9+ use Illuminate \Contracts \Pagination \Paginator ;
810use Illuminate \Contracts \Support \Arrayable ;
911use Illuminate \Contracts \Support \Responsable ;
1012use Illuminate \Database \Eloquent \Model ;
@@ -558,7 +560,7 @@ public static function created()
558560 return (new self ())->code (201 );
559561 }
560562
561- public static function index (AbstractPaginator $ paginator , array $ meta = []): JsonResponse
563+ public static function index (AbstractPaginator | Paginator $ paginator , array $ meta = []): JsonResponse
562564 {
563565 return response ()->json (
564566 [
You can’t perform that action at this time.
0 commit comments