diff --git a/src/ClickHouseConnection.php b/src/ClickHouseConnection.php index 1ea5126..18f3c36 100644 --- a/src/ClickHouseConnection.php +++ b/src/ClickHouseConnection.php @@ -46,18 +46,14 @@ public function __construct( string $password, AbstractPlatform $platform ) { - $this->smi2CHClient = new Smi2CHClient( - [ - 'host' => $params['host'] ?? 'localhost', - 'port' => $params['port'] ?? 8123, - 'username' => $username, - 'password' => $password, - ], - array_merge([ - 'database' => $params['dbname'] ?? 'default', - ], $params['driverOptions'] ?? []) - ); - + $this->smi2CHClient = new Smi2CHClient([ + 'host' => $params['host'] ?? 'localhost', + 'port' => $params['port'] ?? 8123, + 'username' => $username, + 'password' => $password, + ], array_merge([ + 'database' => $params['dbname'] ?? 'default', + ], $params['driverOptions'] ?? [])); $this->platform = $platform; }