Skip to content

Commit 9ac598d

Browse files
committed
set type int on paginate
1 parent cd76345 commit 9ac598d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/LogsController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function index(Request $request)
6464

6565
$logQuery->scan();
6666
$logQuery->exceptLevels($excludedLevels);
67-
$logs = $logQuery->paginate($perPage);
67+
$logs = $logQuery->paginate((int) $perPage);
6868
$levels = array_values($logQuery->getLevelCounts());
6969

7070
if ($logs->lastPage() < $request->input('page', 1)) {

0 commit comments

Comments
 (0)