Skip to content

Commit

Permalink
fix: better return type for TableSizes snippet (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod authored Mar 7, 2023
1 parent bd0fb26 commit 0a46d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Snippet/TableSizes.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/** @phpstan-type Entry array{table: string, database: string, size: string, min_date: string, max_date: string} */
final class TableSizes
{
/** @return array<array<string, mixed>> */
/** @return array<Entry> */
public static function run(ClickHouseClient $clickHouseClient, string|null $databaseName = null): array
{
/** @var JsonEachRow<Entry> $format */
Expand Down

0 comments on commit 0a46d76

Please sign in to comment.