diff --git a/src/controllers/api/Reviews.php b/src/controllers/api/Reviews.php index aee5f82..c93df02 100644 --- a/src/controllers/api/Reviews.php +++ b/src/controllers/api/Reviews.php @@ -206,7 +206,31 @@ public function deleteReview(): void } /** - * Gets the number of reviews for each month + * Gets the number of reviews for each month. + * + *
+ * [ + * { + * "date": "2024-04-01", + * "totalReviews": 1, + * "positiveReviews": "0", + * "negativeReviews": "1" + * }, + * { + * "date": "2024-05-01", + * "totalReviews": 9, + * "positiveReviews": "4", + * "negativeReviews": "5" + * }, + * { + * "date": "2024-06-01", + * "totalReviews": 1, + * "positiveReviews": "1", + * "negativeReviews": "0" + * } + * ] + *+ * * @return void */ public function getCountOverTime(): void