From c40e96b256287f3b9ccbc2338d3e40c00a9e44d2 Mon Sep 17 00:00:00 2001 From: Daniel Stainback Date: Tue, 28 Feb 2023 11:39:52 -0500 Subject: [PATCH] Fix search type declaration --- src/Repositories/AbstractRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {