Skip to content

Commit ddfa71e

Browse files
committed
wip
1 parent 4f30b0c commit ddfa71e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Database/Query/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1959,7 +1959,7 @@ public function limit($value)
19591959
$property = $this->unions ? 'unionLimit' : 'limit';
19601960

19611961
if ($value >= 0) {
1962-
$this->$property = $value;
1962+
$this->$property = (int) $value;
19631963
}
19641964

19651965
return $this;

0 commit comments

Comments
 (0)