Skip to content

Commit

Permalink
Fix search type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
Torann authored Feb 28, 2023
1 parent ac4e99d commit c40e96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repositories/AbstractRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ public function getOrderable(): array
/**
* {@inheritDoc}
*/
public function search(string|array $queries)
public function search(string|array|null $queries)
{
// Adjust for simple search queries
if (is_string($queries)) {
Expand Down

0 comments on commit c40e96b

Please sign in to comment.