Completed
Push — master ( 100764...8fe1ff )
by Freek
01:23
created
src/PaginateRoute.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
      *
77 77
      * @param \Illuminate\Contracts\Pagination\Paginator $paginator
78 78
      *
79
-     * @return string|null
79
+     * @return null|integer
80 80
      */
81 81
     public function nextPage(Paginator $paginator)
82 82
     {
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
     /**
121 121
      * Get the previous page number.
122 122
      *
123
-     * @return string|null
123
+     * @return null|integer
124 124
      */
125 125
     public function previousPage()
126 126
     {
Please login to merge, or discard this patch.
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,12 +2,12 @@
 block discarded – undo
2 2
 
3 3
 namespace Spatie\PaginateRoute;
4 4
 
5
-use Illuminate\Routing\Router;
6
-use Illuminate\Translation\Translator;
7
-use Illuminate\Routing\RouteParameterBinder;
5
+use Illuminate\Contracts\Pagination\LengthAwarePaginator;
8 6
 use Illuminate\Contracts\Pagination\Paginator;
9 7
 use Illuminate\Contracts\Routing\UrlGenerator;
10
-use Illuminate\Contracts\Pagination\LengthAwarePaginator;
8
+use Illuminate\Routing\RouteParameterBinder;
9
+use Illuminate\Routing\Router;
10
+use Illuminate\Translation\Translator;
11 11
 use Request;
12 12
 
13 13
 class PaginateRoute
Please login to merge, or discard this patch.