We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b170e6 commit cf49d75Copy full SHA for cf49d75
src/components/BaseRenderer.php
@@ -163,15 +163,15 @@ private function prepareMinOption()
163
private function prepareLimit()
164
{
165
if ($this->limit === null) {
166
- $this->limit = 999;
+ $this->limit = PHP_INT_MAX;
167
}
168
169
if ($this->limit < 1) {
170
$this->limit = 1;
171
172
173
// Maximum number of rows cannot be less then minimum number.
174
- if ($this->limit !== null && $this->limit < $this->min) {
+ if ($this->limit < $this->min) {
175
$this->limit = $this->min;
176
177
0 commit comments