Update NotificationService

pull/2895/head
Daniel Supernault 4 years ago
parent 07bc5d5c83
commit 2d93bc8b51
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

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

Loading…
Cancel
Save