Skip to content

Commit c839ddc

Browse files
committed
feature #366 [Store][ClickHouse] Make store final readonly (OskarStark)
This PR was merged into the main branch. Discussion ---------- [Store][ClickHouse] Make store `final readonly` | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | Docs? | no | Issues | -- | License | MIT Commits ------- cfcc422 [Store][ClickHouse] Make store `final readonly`
2 parents 54104d9 + cfcc422 commit c839ddc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/store/src/Bridge/ClickHouse/Store.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,12 @@
2525
/**
2626
* @author Grégoire Pineau <[email protected]>
2727
*/
28-
class Store implements ManagedStoreInterface, StoreInterface
28+
final readonly class Store implements ManagedStoreInterface, StoreInterface
2929
{
3030
public function __construct(
31-
private readonly HttpClientInterface $httpClient,
32-
private readonly string $databaseName = 'default',
33-
private readonly string $tableName = 'embedding',
31+
private HttpClientInterface $httpClient,
32+
private string $databaseName = 'default',
33+
private string $tableName = 'embedding',
3434
) {
3535
}
3636

0 commit comments

Comments
 (0)