Skip to content

Commit da5f142

Browse files
committed
missing parenthesis
1 parent bd1f6c0 commit da5f142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/ApiController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function index(Request $request): LengthAwarePaginator
1919
->selectFields($request->input('fields.blocks'))
2020
->allowedSorts(['status_translated', 'name', 'body_translated'])
2121
->allowedFilters([
22-
AllowedFilter::custom('name,body', new FilterOr),
22+
AllowedFilter::custom('name,body', new FilterOr()),
2323
])
2424
->paginate($request->input('per_page'));
2525

0 commit comments

Comments
 (0)