From b696e7adff8d3dc90897eee2fa3ee7029d985a5f Mon Sep 17 00:00:00 2001 From: Seb Kay Date: Fri, 21 Nov 2025 11:07:04 +0000 Subject: [PATCH] Fix PHP 8.4 warning where `str_getcsv` must be provided an `$escape` parameter --- src/Searcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Searcher.php b/src/Searcher.php index 1d3d2bd..575671e 100644 --- a/src/Searcher.php +++ b/src/Searcher.php @@ -366,7 +366,7 @@ public function parseTerms(string $terms, callable $callback = null): Collection { $callback = $callback ?: fn () => null; - return Collection::make(str_getcsv($terms, ' ', '"')) + return Collection::make(str_getcsv($terms, ' ', '"', "\\")) ->filter() ->values() ->when($callback !== null, function ($terms) use ($callback) {