fix: explicit nullable type (#41)

This commit is contained in:
Claudio Pennati
2025-06-26 19:52:06 +05:00
committed by GitHub
parent 7ae3507892
commit d52fb94438
+1 -1
View File
@@ -31,7 +31,7 @@ class Builder extends BaseBuilder
*/
protected $connection = Connection::DEFAULT_NAME;
public function __construct(Client $client = null)
public function __construct(?Client $client = null)
{
$this->grammar = new Grammar();
$this->client = $client ?? $this->getThisClient();