* @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`
* @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`