Completed
Push — master ( b852c1...ed5538 )
by Pierre
03:14
created
config/dev/routes.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     '/^(api\/v1\/test)\/(redis)$/', // 1st group match controller 2nd match action
20 20
     '/^(api\/v1\/restful)$/', // 1st group match controller with default action
21 21
     '/^(api\/v1\/restful)\/(\d+)$/', // 1st group match controller then slug_id
22
-   /* '/^(api\/v1\/restful)(\?.*)/', // 3rd group match ?a=1&b=2
22
+    /* '/^(api\/v1\/restful)(\?.*)/', // 3rd group match ?a=1&b=2
23 23
     '/^(api\/v1\/restful)\/(.*?)(\?.*)/', // 3rd group match ?a=1&b=2
24 24
     '/^(api\/v1\/restful)\/(.*?)(\/.*)/', // 3rd group match /a/1/b/2
25 25
     '/^(api\/v1\/restful)\/(.*)$/', // 1st group match controller 2nd match action*/
Please login to merge, or discard this patch.
src/App/Component/Http/Route.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     {
19 19
         $this->method = 'GET';
20 20
         $this->expr = '/^(*.)$/';
21
-        $this->callable = function () {
21
+        $this->callable = function() {
22 22
         };
23 23
         if (strpos($routeItem, ';') !== false) {
24 24
             list(
Please login to merge, or discard this patch.
src/App/Component/Http/Routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     public function getExpr(): array
55 55
     {
56 56
         $patterns = array_map(
57
-            function (Route $i) {
57
+            function(Route $i) {
58 58
                 return $i->getExpr();
59 59
             },
60 60
             $this->routes
Please login to merge, or discard this patch.