Passed
Branch master (bd6415)
by Albert
05:36 queued 03:04
created
src/LumenServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      */
18 18
     protected function registerManager()
19 19
     {
20
-        $this->app->singleton(Manager::class, function ($app) {
20
+        $this->app->singleton(Manager::class, function($app) {
21 21
             return new Manager($app, 'lumen');
22 22
         });
23 23
 
@@ -35,11 +35,11 @@  discard block
 block discarded – undo
35 35
 
36 36
         // router only exists after lumen 5.5
37 37
         if (property_exists($app, 'router')) {
38
-            $app->router->group(['namespace' => 'SwooleTW\Http\Controllers'], function ($app) {
38
+            $app->router->group(['namespace' => 'SwooleTW\Http\Controllers'], function($app) {
39 39
                 require __DIR__ . '/../routes/lumen_routes.php';
40 40
             });
41 41
         } else {
42
-            $app->group(['namespace' => 'App\Http\Controllers'], function ($app) {
42
+            $app->group(['namespace' => 'App\Http\Controllers'], function($app) {
43 43
                 require __DIR__ . '/../routes/lumen_routes.php';
44 44
             });
45 45
         }
Please login to merge, or discard this patch.