Test Setup Failed
Branch master (48352d)
by ANTHONIUS
12:11
created
Category
routes/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,6 +24,6 @@
 block discarded – undo
24 24
 |
25 25
 */
26 26
 
27
-$router->get('/', function () use ($router) {
27
+$router->get('/', function() use ($router) {
28 28
     return $router->app->version();
29 29
 });
Please login to merge, or discard this patch.
src/Packages/Core/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -61,13 +61,13 @@
 block discarded – undo
61 61
     private function loadRoutes(): void
62 62
     {
63 63
         foreach (static::$webRoutes as $filePath => $namespace) {
64
-            Route::group(['prefix' => '/', 'namespace' => $namespace], function (Router $router) use ($filePath) {
64
+            Route::group(['prefix' => '/', 'namespace' => $namespace], function(Router $router) use ($filePath) {
65 65
                 require $filePath;
66 66
             });
67 67
         }
68 68
 
69 69
         foreach (static::$apiRoutes as $filePath => $namespace) {
70
-            Route::group(['prefix' => 'api', 'namespace' => $namespace], function (Router $router) use ($filePath) {
70
+            Route::group(['prefix' => 'api', 'namespace' => $namespace], function(Router $router) use ($filePath) {
71 71
                 require $filePath;
72 72
             });
73 73
         }
Please login to merge, or discard this patch.
src/Packages/Core/helpers.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      * @param string|null $namespace
37 37
      * @psalm-suppress DuplicateFunction
38 38
      */
39
-    function route_register_api(string $filePath, ?string $namespace=null): void
39
+    function route_register_api(string $filePath, ?string $namespace = null): void
40 40
     {
41 41
         RouteServiceProvider::addApiRoute($filePath, $namespace);
42 42
     }
Please login to merge, or discard this patch.
src/Packages/Core/Resources/routes/web.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,6 +13,6 @@
 block discarded – undo
13 13
 
14 14
 use Illuminate\Support\Facades\Route;
15 15
 
16
-Route::get('/', function () {
16
+Route::get('/', function() {
17 17
     return 'Hello World';
18 18
 });
Please login to merge, or discard this patch.
src/Packages/Core/Resources/routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,6 +14,6 @@
 block discarded – undo
14 14
 use Illuminate\Http\JsonResponse;
15 15
 use Illuminate\Support\Facades\Route;
16 16
 
17
-Route::get('/', function () {
17
+Route::get('/', function() {
18 18
     return new JsonResponse(['message' => 'hello world']);
19 19
 });
Please login to merge, or discard this patch.