Skip to content

Commit f26a751

Browse files
darkspockjmacias-coverTigrovvjik
authored
Fix buildLimit() silently dropping OFFSET 0 (#1173)
Co-authored-by: juanmacias <jmacias@covermanager.com> Co-authored-by: Sergei Tigrov <rrr-r@ya.ru> Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent 564bf3c commit f26a751

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/QueryBuilder/DQLQueryBuilderInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,9 @@ public function buildHaving(array|ExpressionInterface|string|null $condition, ar
160160
public function buildJoin(array $joins, array &$params): string;
161161

162162
/**
163-
* @param ExpressionInterface|int|null $limit The limit number.
163+
* @param ExpressionInterface|int|null $limit The limit number. For ​​`null`, no limit clause is built.
164164
* @see Query::limit() For more details.
165-
* @param ExpressionInterface|int|null $offset The offset number.
165+
* @param ExpressionInterface|int|null $offset The offset number. For ​​`null` or `0`, no offset clause is built.
166166
* @see Query::offset() For more details.
167167
*
168168
* @throws NotSupportedException

0 commit comments

Comments
 (0)