We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c1b1b4 commit 4ed121dCopy full SHA for 4ed121d
src/SphinxQL.php
@@ -219,7 +219,7 @@ class SphinxQL
219
/**
220
* @param ConnectionInterface|null $connection
221
*/
222
- public function __construct(ConnectionInterface $connection = null)
+ public function __construct(?ConnectionInterface $connection = null)
223
{
224
$this->connection = $connection;
225
}
@@ -304,7 +304,7 @@ public function executeBatch()
304
*
305
* @return SphinxQL A new SphinxQL object with the current object referenced
306
307
- public function enqueue(SphinxQL $next = null)
+ public function enqueue(?SphinxQL $next = null)
308
309
if ($next === null) {
310
$next = new static($this->getConnection());
0 commit comments