X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FTag.php;h=2bdbbc8aca1351400a4ffd3dbba330af29fdab34;hb=f9994548c1f1110c7f548e00fcf1b6ee42b9de3b;hp=0ab4b3a49d439b0e87b6550298931c86a1e704fe;hpb=303aaa00ca053fb65cfc7eec3bd5ce01825028e3;p=friendica.git diff --git a/src/Model/Tag.php b/src/Model/Tag.php index 0ab4b3a49d..2bdbbc8aca 100644 --- a/src/Model/Tag.php +++ b/src/Model/Tag.php @@ -517,7 +517,7 @@ class Tag * @return array * @throws \Exception */ - public static function setGlobalTrendingHashtags(int $period, $limit = 10) + public static function setGlobalTrendingHashtags(int $period, int $limit = 10) { $tagsStmt = DBA::p("SELECT `name` AS `term`, COUNT(*) AS `score` FROM `tag-search-view` @@ -560,7 +560,7 @@ class Tag * @return array * @throws \Exception */ - public static function setLocalTrendingHashtags(int $period, $limit = 10) + public static function setLocalTrendingHashtags(int $period, int $limit = 10) { $tagsStmt = DBA::p("SELECT `name` AS `term`, COUNT(*) AS `score` FROM `tag-search-view`