Skip to content

Commit b8f1e74

Browse files
author
Yevhen Chornohradskyi
committed
[FIX] Use correct data structure for settings
1 parent 2bec2d0 commit b8f1e74

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/ClickHouseConnection.php

+3-5
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ public function __construct(
5353
'username' => $username,
5454
'password' => $password,
5555
],
56-
[
57-
'settings' => array_merge([
58-
'database' => $params['dbname'] ?? 'default',
59-
], $params['driverOptions'] ?? []),
60-
]
56+
array_merge([
57+
'database' => $params['dbname'] ?? 'default',
58+
], $params['driverOptions'] ?? [])
6159
);
6260

6361
$this->platform = $platform;

0 commit comments

Comments
 (0)