Skip to content

Commit

Permalink
- fix incompatibilities with php 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammad-Alavi committed Sep 27, 2021
1 parent f718a3e commit 0f75c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Traits/HasRequestCriteriaTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private function hashIdEnabled(): bool
return config('apiato.hash-id');
}

private function isSearching(array|string|null $query): bool
private function isSearching(array $query): bool
{
return array_key_exists('search', $query) && $query['search'];
}
Expand Down

0 comments on commit 0f75c9f

Please sign in to comment.