Skip to content

Commit 256fd85

Browse files
authored
style: run cs fix (#258)
1 parent 4af524d commit 256fd85

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Client/PsrClickHouseAsyncClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function selectWithParams(
6666
settings: $settings,
6767
processResponse: static fn (ResponseInterface $response): Output => $outputFormat::output(
6868
$response->getBody()->__toString(),
69-
)
69+
),
7070
);
7171
}
7272

tests/ClickHouseVersion.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class ClickHouseVersion
2222
/** @throws RuntimeException */
2323
public static function get(): int
2424
{
25-
$versionString = $_ENV[self::EnvName];
25+
$versionString = $_ENV[self::EnvName] ?? '23.12';
2626
assert(is_string($versionString));
2727

2828
if (strpos($versionString, '.') === false) {

tests/Snippet/ShowDatabasesTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testRun(): void
2828
$databases = array_filter(
2929
$databases,
3030
static fn (string $database): bool => ! str_starts_with($database, 'clickhouse_client_test__')
31-
|| $database === self::$currentDbName
31+
|| $database === self::$currentDbName,
3232
);
3333

3434
$databases = array_values($databases);

0 commit comments

Comments
 (0)