Skip to content

Commit

Permalink
Types
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Feb 11, 2025
1 parent 09afb08 commit 8b371db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/StatisticsData.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ public function countGivenNames(array $names): int

public function countHits(string $page_name, string $page_parameter): int
{
return DB::table('hit_counter')
return (int) DB::table('hit_counter')
->where('gedcom_id', '=', $this->tree->id())
->where('page_name', '=', $page_name)
->where('page_parameter', '=', $page_parameter)
Expand Down

0 comments on commit 8b371db

Please sign in to comment.