Completed
Push — master ( ff496f...1b73c5 )
by Mahmoud
03:18
created
app/Port/Routes/Loaders/RoutesLoaderTrait.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Illuminate\Routing\Router as LaravelRouter;
8 8
 use Illuminate\Support\Facades\Config;
9 9
 use Illuminate\Support\Facades\File;
10
-use Route;
11 10
 use Symfony\Component\Finder\SplFileInfo;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
                 $apiVersionNumber = $this->getRouteFileVersionNumber($fileNameWithoutExtension);
55 55
 
56 56
                 $this->apiRouter->version('v' . $apiVersionNumber,
57
-                    function (DingoApiRouter $router) use ($file, $containerPath, $containersNamespace) {
57
+                    function(DingoApiRouter $router) use ($file, $containerPath, $containersNamespace) {
58 58
 
59 59
                         $router->group([
60 60
                             // Routes Namespace
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
                             'limit'      => Config::get('api.limit'),
66 66
                             // The API limit expiry time.
67 67
                             'expires'    => Config::get('api.limit_expires'),
68
-                        ], function ($router) use ($file) {
68
+                        ], function($router) use ($file) {
69 69
 
70 70
                             require $file->getPathname();
71 71
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             foreach ($files as $file) {
97 97
                 $this->webRouter->group([
98 98
                     'namespace' => $containersNamespace . '\\Containers\\' . basename($containerPath) . '\\Controllers',
99
-                ], function (LaravelRouter $router) use ($file) {
99
+                ], function(LaravelRouter $router) use ($file) {
100 100
                     require $file->getPathname();
101 101
                 });
102 102
             }
Please login to merge, or discard this patch.
app/Port/HashId/Traits/HashIdTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
     public function runEndpointsHashedIdsDecoder()
21 21
     {
22 22
         if (Config::get('hello.hash-id')) {
23
-            Route::bind('id', function ($id, $route) {
23
+            Route::bind('id', function($id, $route) {
24 24
                 return Hashids::decode($id)[0];
25 25
             });
26 26
         }
Please login to merge, or discard this patch.