Skip to content

Commit ac4e99d

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Contracts/RepositoryContract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ public function orderBy(mixed $column, string|null $direction);
8686
/**
8787
* Filter results by given query params.
8888
*
89-
* @param string|array $queries
89+
* @param string|array|null $queries
9090
*
9191
* @return static
9292
*/
93-
public function search(string|array $queries);
93+
public function search(string|array|null $queries);
9494

9595
/**
9696
* Retrieve all data of repository

0 commit comments

Comments
 (0)