File tree Expand file tree Collapse file tree 1 file changed +3
-12
lines changed
Expand file tree Collapse file tree 1 file changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -254,10 +254,7 @@ public function getBaseRequest(): BaseRequest
254254 */
255255 public function start (): int
256256 {
257- /** @var int $start */
258- $ start = $ this ->request ->input ('start ' , 0 );
259-
260- return $ start ;
257+ return intval ($ this ->request ->input ('start ' , 0 ));
261258 }
262259
263260 /**
@@ -267,10 +264,7 @@ public function start(): int
267264 */
268265 public function length (): int
269266 {
270- /** @var int $length */
271- $ length = $ this ->request ->input ('length ' , 10 );
272-
273- return $ length ;
267+ return intval ($ this ->request ->input ('length ' , 10 ));
274268 }
275269
276270 /**
@@ -280,9 +274,6 @@ public function length(): int
280274 */
281275 public function draw (): int
282276 {
283- /** @var int $draw */
284- $ draw = $ this ->request ->input ('draw ' , 0 );
285-
286- return $ draw ;
277+ return intval ($ this ->request ->input ('draw ' , 0 ));
287278 }
288279}
You can’t perform that action at this time.
0 commit comments