Skip to content

Commit fef73c6

Browse files
committed
Fixed missing function bug in lumen.
1 parent 7be8044 commit fef73c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CachedBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function paginate(
150150
return parent::paginate($perPage, $columns, $pageName, $page);
151151
}
152152

153-
$page = request()->input($pageName)
153+
$page = app('request')->input($pageName)
154154
?: $page
155155
?: 1;
156156

0 commit comments

Comments
 (0)