Skip to content

Commit

Permalink
Merge pull request #8 from AndrewZoh/fix_username_param_in_server
Browse files Browse the repository at this point in the history
Fix username param in Server
  • Loading branch information
evsign committed Jul 30, 2019
2 parents 1c72116 + aff7d44 commit d03d3f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class Server
*
* @param string $host
* @param string $port
* @param string|null $database
* @param string $database
* @param string|null $username
* @param string|null $password
* @param \Tinderbox\Clickhouse\Common\ServerOptions|null $options
Expand All @@ -65,7 +65,7 @@ public function __construct(
string $host,
string $port = '8123',
string $database = 'default',
string $username = 'default',
string $username = null,
string $password = null,
ServerOptions $options = null
) {
Expand Down

0 comments on commit d03d3f8

Please sign in to comment.