Skip to content

Commit

Permalink
Cast rowCount to int
Browse files Browse the repository at this point in the history
Signed-off-by: Liviu-Mihail Concioiu <[email protected]>
  • Loading branch information
liviuconcioiu committed Jan 18, 2025
1 parent 38bbaff commit 27a9838
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function __invoke(ServerRequest $request): Response
$realRowCountAll = [];
// Iterate over each table and fetch real row count.
foreach ($this->dbi->getTables(Current::$database) as $table) {
$rowCount = $this->dbi
$rowCount = (int) $this->dbi
->getTable(Current::$database, $table)
->getRealRowCountTable();
$realRowCountAll[] = ['table' => $table, 'row_count' => Util::formatNumber($rowCount, 0)];
Expand Down

0 comments on commit 27a9838

Please sign in to comment.