Correct ordering params in SqlCriteria::order()
This commit is contained in:
@ -124,11 +124,11 @@ class SqlCriteria
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param $limit int
|
|
||||||
* @param $offset int
|
* @param $offset int
|
||||||
|
* @param $limit int
|
||||||
* @return SqlCriteria
|
* @return SqlCriteria
|
||||||
*/
|
*/
|
||||||
public function limit($limit, $offset = 0)
|
public function limit($offset = 0, $limit)
|
||||||
{
|
{
|
||||||
if ($offset) {
|
if ($offset) {
|
||||||
$this->limit = (int) $offset . ',';
|
$this->limit = (int) $offset . ',';
|
||||||
|
Reference in New Issue
Block a user