@@ -54,7 +54,7 @@ discard block |
||
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 | $controllerNamespace = $containersNamespace . '\\Containers\\' . basename($containerPath) . '\\UI\API\Controllers'; |
60 | 60 | |
@@ -62,12 +62,12 @@ discard block |
||
62 | 62 | // Routes Namespace |
63 | 63 | 'namespace' => $controllerNamespace, |
64 | 64 | // Enable: API Rate Limiting |
65 | - 'middleware' => ['api.throttle','mobile.requests.monitor'], |
|
65 | + 'middleware' => ['api.throttle', 'mobile.requests.monitor'], |
|
66 | 66 | // The API limit time. |
67 | 67 | 'limit' => Config::get('api.limit'), |
68 | 68 | // The API limit expiry time. |
69 | 69 | 'expires' => Config::get('api.limit_expires'), |
70 | - ], function ($router) use ($file) { |
|
70 | + ], function($router) use ($file) { |
|
71 | 71 | |
72 | 72 | require $file->getPathname(); |
73 | 73 | |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | foreach ($files as $file) { |
101 | 101 | $this->webRouter->group([ |
102 | 102 | 'namespace' => $controllerNamespace, |
103 | - ], function (LaravelRouter $router) use ($file) { |
|
103 | + ], function(LaravelRouter $router) use ($file) { |
|
104 | 104 | require $file->getPathname(); |
105 | 105 | }); |
106 | 106 | } |