Skip to content

Commit f46077a

Browse files
Apply PHP Pint fixes
1 parent bd43b35 commit f46077a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/LitebaseClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ public function withTransport(string $transportType): LitebaseClient
241241
$this->transport = new HttpStreamingTransport($this->configuration);
242242
break;
243243
default:
244-
throw new Exception('Invalid transport type: ' . $transportType);
244+
throw new Exception('Invalid transport type: '.$transportType);
245245
}
246246

247247
return $this;

src/LitebaseStatement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ public function execute(?array $params = null): bool
212212
$columns = $this->columns ?? [];
213213

214214
return array_combine(
215-
array_map(fn($col) => $col['name'], $columns),
215+
array_map(fn ($col) => $col['name'], $columns),
216216
$row
217217
);
218218
}, $this->result->rows);

tests/Integration/LitebasePDOTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'name' => 'test',
3030
]));
3131
} catch (\Exception $e) {
32-
throw new \RuntimeException('Failed to connect to Litebase server for integration tests: ' . $e->getMessage());
32+
throw new \RuntimeException('Failed to connect to Litebase server for integration tests: '.$e->getMessage());
3333
}
3434
});
3535

@@ -202,7 +202,7 @@
202202
$row = $statement->fetch(PDO::FETCH_ASSOC);
203203
/** @var float $floatValue */
204204
$floatValue = $row['float_col'];
205-
/** @var string $blobValue */
205+
/** @var string $blobValue */
206206
$blobValue = $row['blob_col'];
207207

208208
expect($row)->not->toBeNull();

0 commit comments

Comments
 (0)