File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function __construct(
2929 * @param array $filters
3030 * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
3131 */
32- public function getAllPaginated (int $ perPage , array $ filters )
32+ public function getAllPaginated (int $ perPage , array $ filters = [] )
3333 {
3434 $ query = $ this ->billingRepo ->query ()->with (['order.user ' , 'order.orderItems.item ' ]);
3535
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function __construct(
3333 * @param array $filters
3434 * @return \Illuminate\Contracts\Pagination\LengthAwarePaginator
3535 */
36- public function getAllPaginated (int $ perPage , array $ filters )
36+ public function getAllPaginated (int $ perPage , array $ filters = [] )
3737 {
3838 $ query = $ this ->deliveryRepo ->query ()->with (['order.user ' , 'order.orderItems.item ' ]);
3939
You can’t perform that action at this time.
0 commit comments