Skip to content

Commit

Permalink
Fix IQueryFunction to string compliance
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Aug 18, 2022
1 parent ac3de85 commit 41cb859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Tools/Db/ExtendedQueryBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ public function exprLike(string $field, string $value, string $alias = '', bool
}
}

public function exprLimit(string $field, string $value, string $alias = '', bool $cs = true): IQueryFunction {
public function exprLimit(string $field, string $value, string $alias = '', bool $cs = true): string {
if ($this->getType() === DBALQueryBuilder::SELECT) {
$field = (($alias === '') ? $this->getDefaultSelectAlias() : $alias) . '.' . $field;
}
Expand Down

0 comments on commit 41cb859

Please sign in to comment.