From 65c9e7892a3f0b385c3779b2a9903c0b632190d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Stamenkovi=C4=87?= Date: Mon, 2 Jun 2025 10:44:40 +0200 Subject: [PATCH] Deprecated: Foolz\SphinxQL\SphinxQL::enqueue(): Implicitly marking parameter $next as nullable is deprecated ``` Deprecated: Foolz\SphinxQL\SphinxQL::enqueue(): Implicitly marking parameter $next as nullable is deprecated, the explicit nullable type must be used instead in /vendor/foolz/sphinxql-query-builder/src/SphinxQL.php on line 307 ``` --- src/SphinxQL.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SphinxQL.php b/src/SphinxQL.php index ddcd3e6..cfc7bc4 100644 --- a/src/SphinxQL.php +++ b/src/SphinxQL.php @@ -304,7 +304,7 @@ public function executeBatch() * * @return SphinxQL A new SphinxQL object with the current object referenced */ - public function enqueue(SphinxQL $next = null) + public function enqueue(?SphinxQL $next = null) { if ($next === null) { $next = new static($this->getConnection());