aboutsummaryrefslogtreecommitdiffstats
path: root/imperium/Model/Model.php
diff options
context:
space:
mode:
Diffstat (limited to 'imperium/Model/Model.php')
-rw-r--r--imperium/Model/Model.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/imperium/Model/Model.php b/imperium/Model/Model.php
index 76eeb1c..1168f83 100644
--- a/imperium/Model/Model.php
+++ b/imperium/Model/Model.php
@@ -454,14 +454,14 @@
* @param callable $callable
* @param int $current_page
*
- * @return string
+ * @return Query
*
* @throws DependencyException
* @throws Kedavra
* @throws NotFoundException
*
*/
- public static function paginate($callable, int $current_page) : string
+ public static function paginate($callable, int $current_page) : Query
{
return static::query()->paginate($callable, $current_page, static::$limit);
}