Skip to content

Commit 2134ecf

Browse files
authored
Deprecated: Foolz\SphinxQL\SphinxQL::__construct(): Implicitly marking parameter $connection as nullable
```Deprecated: Foolz\SphinxQL\SphinxQL::__construct(): Implicitly marking parameter $connection as nullable is deprecated, the explicit nullable type must be used instead in vendor/foolz/sphinxql-query-builder/src/SphinxQL.php on line 222```
1 parent 6c1b1b4 commit 2134ecf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SphinxQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class SphinxQL
219219
/**
220220
* @param ConnectionInterface|null $connection
221221
*/
222-
public function __construct(ConnectionInterface $connection = null)
222+
public function __construct(?ConnectionInterface $connection = null)
223223
{
224224
$this->connection = $connection;
225225
}

0 commit comments

Comments
 (0)