fix: explicit nullable type (#41)
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user