Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 16, 2021
1 parent 4f30b0c commit ddfa71e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ public function limit($value)
$property = $this->unions ? 'unionLimit' : 'limit';

if ($value >= 0) {
$this->$property = $value;
$this->$property = (int) $value;
}

return $this;
Expand Down

0 comments on commit ddfa71e

Please sign in to comment.