Browse Source

Update NotificationService

Daniel Supernault 3 năm trước cách đây
mục cha
commit
2d93bc8b51
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/Services/NotificationService.php

+ 2 - 2
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);