Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ifsnow committed Jan 12, 2016
1 parent 2eaa47f commit d93f08f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions phalcon/mvc/model/query/builder.zep
Original file line number Diff line number Diff line change
Expand Up @@ -904,11 +904,11 @@ class Builder implements BuilderInterface, InjectionAwareInterface
* $builder->limit(100, 20);
*</code>
*/
public function limit(int limit = null, int offset = null) -> <Builder>
public function limit(var limit = null, var offset = null) -> <Builder>
{
let this->_limit = limit;
if offset {
let this->_offset = offset;
if is_numeric(offset) {
let this->_offset = (int)offset;
}
return this;
}
Expand Down

0 comments on commit d93f08f

Please sign in to comment.