File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ Yii2 multiple input change log
4
4
1.2.17 in development
5
5
---------------------
6
6
7
+ - Enh: increased default value for the property ` limit `
8
+
7
9
1.2.16
8
10
------
9
11
Original file line number Diff line number Diff line change @@ -163,15 +163,15 @@ private function prepareMinOption()
163
163
private function prepareLimit ()
164
164
{
165
165
if ($ this ->limit === null ) {
166
- $ this ->limit = 999 ;
166
+ $ this ->limit = PHP_INT_MAX ;
167
167
}
168
168
169
169
if ($ this ->limit < 1 ) {
170
170
$ this ->limit = 1 ;
171
171
}
172
172
173
173
// Maximum number of rows cannot be less then minimum number.
174
- if ($ this ->limit !== null && $ this -> limit < $ this ->min ) {
174
+ if ($ this ->limit < $ this ->min ) {
175
175
$ this ->limit = $ this ->min ;
176
176
}
177
177
}
You can’t perform that action at this time.
0 commit comments