Skip to content
This repository was archived by the owner on Aug 13, 2023. It is now read-only.

Commit dd1f839

Browse files
authored
Update Limit.php
1 parent bf6b008 commit dd1f839

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/QueryBuilder/Operator/Limit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ protected function buildLimit($limit)
2828
{
2929
$offset = $this->storageOffset();
3030

31-
return $offset ? $offset . ', ' . $limit : '' . $limit;
31+
return ($offset ? $offset . ', ' : '') . $limit;
3232
}
3333

3434
return $limit;

0 commit comments

Comments
 (0)