From 2d93bc8b51ed6836fa6cdcdbcf883a1004f93116 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 31 Aug 2021 00:39:03 -0600 Subject: [PATCH] Update NotificationService --- app/Services/NotificationService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/NotificationService.php b/app/Services/NotificationService.php index 3de1bf650..6eaca0301 100644 --- a/app/Services/NotificationService.php +++ b/app/Services/NotificationService.php @@ -46,7 +46,7 @@ class NotificationService { return $ids; } - public static function getMax($id = false, $start, $limit = 10) + public static function getMax($id = false, $start = 0, $limit = 10) { $ids = self::getRankedMaxId($id, $start, $limit); @@ -61,7 +61,7 @@ class NotificationService { return $res->toArray(); } - public static function getMin($id = false, $start, $limit = 10) + public static function getMin($id = false, $start = 0, $limit = 10) { $ids = self::getRankedMinId($id, $start, $limit);