diff --git a/model/SqlCriteria.php b/model/SqlCriteria.php index a634257..8b721f7 100644 --- a/model/SqlCriteria.php +++ b/model/SqlCriteria.php @@ -124,11 +124,11 @@ class SqlCriteria } /** - * @param $limit int * @param $offset int + * @param $limit int * @return SqlCriteria */ - public function limit($limit, $offset = 0) + public function limit($offset = 0, $limit) { if ($offset) { $this->limit = (int) $offset . ',';