Update NotificationService

This commit is contained in:
Daniel Supernault 2021-08-31 00:39:03 -06:00
parent 07bc5d5c83
commit 2d93bc8b51
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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);