Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.

Commit

Permalink
Fix Oracle\Query::_render_limit_start type (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek authored May 11, 2021
1 parent a1dfc07 commit e0c1f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Oracle/Query.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function limit($cnt, $shift = null)

public function _render_limit_start(): string
{
return $this->args['limit']['shift'] ?? '0';
return (string) ($this->args['limit']['shift'] ?? 0);
}

public function _render_and_limit_end(): ?string
Expand Down

0 comments on commit e0c1f41

Please sign in to comment.