Completed
Pull Request — master (#11)
by Hugo
08:45
created
src/PaginateRoute.php 2 patches
Doc Comments   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -337,8 +337,4 @@
 block discarded – undo
337 337
             $router->group(
338 338
                 ['middleware' => 'Spatie\PaginateRoute\SetPageMiddleware'],
339 339
                 function () use ($pageKeyword, $router, $uri, $action) {
340
-                    $router->get($uri.'/{pageQuery?}', $action)->where('pageQuery', $pageKeyword.'/[0-9]+');
341
-                });
342
-        });
343
-    }
344
-}
340
+                    $router->get($uri.'/{pageQuery?}', $action)->where('pageQuery', $pageKeyword
345 341
\ No newline at end of file
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -337,8 +337,4 @@
 block discarded – undo
337 337
             $router->group(
338 338
                 ['middleware' => 'Spatie\PaginateRoute\SetPageMiddleware'],
339 339
                 function () use ($pageKeyword, $router, $uri, $action) {
340
-                    $router->get($uri.'/{pageQuery?}', $action)->where('pageQuery', $pageKeyword.'/[0-9]+');
341
-                });
342
-        });
343
-    }
344
-}
340
+                    $router->get($uri.'/{pageQuery?}', $action)->where('pageQuery', $pageKeyword
345 341
\ No newline at end of file
Please login to merge, or discard this patch.