Skip to content

Commit d03d3f8

Browse files
authoredJul 30, 2019
Merge pull request #8 from AndrewZoh/fix_username_param_in_server
Fix username param in Server
2 parents 1c72116 + aff7d44 commit d03d3f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/Server.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class Server
5656
*
5757
* @param string $host
5858
* @param string $port
59-
* @param string|null $database
59+
* @param string $database
6060
* @param string|null $username
6161
* @param string|null $password
6262
* @param \Tinderbox\Clickhouse\Common\ServerOptions|null $options
@@ -65,7 +65,7 @@ public function __construct(
6565
string $host,
6666
string $port = '8123',
6767
string $database = 'default',
68-
string $username = 'default',
68+
string $username = null,
6969
string $password = null,
7070
ServerOptions $options = null
7171
) {

0 commit comments

Comments
 (0)
Please sign in to comment.