Skip to content

Commit c40e96b

Browse files
authored
Fix search type declaration
1 parent ac4e99d commit c40e96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Repositories/AbstractRepository.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ public function getOrderable(): array
355355
/**
356356
* {@inheritDoc}
357357
*/
358-
public function search(string|array $queries)
358+
public function search(string|array|null $queries)
359359
{
360360
// Adjust for simple search queries
361361
if (is_string($queries)) {

0 commit comments

Comments
 (0)