diff --git a/Database/ActiveQuery.php b/Database/ActiveQuery.php index 9fdb4dbe..9756c3c5 100644 --- a/Database/ActiveQuery.php +++ b/Database/ActiveQuery.php @@ -177,7 +177,7 @@ class ActiveQuery extends Component * @return Pagination * @throws Exception */ - public function plunk(int $size, int $offset, callable $callback) + public function page(int $size, int $offset, callable $callback) { $pagination = new Pagination($this); $pagination->setOffset($offset);