diff --git a/src/Repositories/AbstractRepository.php b/src/Repositories/AbstractRepository.php index 48a7945..e8c4b03 100755 --- a/src/Repositories/AbstractRepository.php +++ b/src/Repositories/AbstractRepository.php @@ -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)) {