From 607f7e725487ce0eb0339b288ce9e58036dad4a0 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 8 May 2021 10:27:18 +0200 Subject: Fix several comments syntaxes (#3615) Mainly wrong `@return` types in comments --- app/Models/StatsDAO.php | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'app/Models/StatsDAO.php') diff --git a/app/Models/StatsDAO.php b/app/Models/StatsDAO.php index a73657e9a..824535c2d 100644 --- a/app/Models/StatsDAO.php +++ b/app/Models/StatsDAO.php @@ -57,9 +57,8 @@ SQL; /** * Calculates entry count per day on a 30 days period. - * Returns the result as a JSON object. * - * @return JSON object + * @return array */ public function calculateEntryCount() { $count = $this->initEntryCountArray(); @@ -238,9 +237,7 @@ SQL; /** * Calculates feed count per category. - * Returns the result as a JSON object. - * - * @return JSON object + * @return array */ public function calculateFeedByCategory() { $sql = <<