Passed
Push — main ( ad0c85...162273 )
by Carsten
03:09
created
src/EcommerceServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         $this->loadMigrationsFrom(__DIR__.'/../databases/migrations');
25 25
 
26 26
         if ($this->mustLoadRoute()) {
27
-            Route::group($this->routeConfiguration(), function () {
27
+            Route::group($this->routeConfiguration(), function() {
28 28
                 $this->loadRoutesFrom(__DIR__.'/routes.php');
29 29
             });
30 30
         }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     protected function mustLoadRoute(): bool
34 34
     {
35
-        return ! config('ecommerce.disable_default_route', false);
35
+        return !config('ecommerce.disable_default_route', false);
36 36
     }
37 37
 
38 38
     protected function routeConfiguration(): array
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function register()
52 52
     {
53
-        $this->app->singleton('basket', function () {
53
+        $this->app->singleton('basket', function() {
54 54
             return new Basket(new LaravelSession(), new LaravelCookie());
55 55
         });
56 56
     }
Please login to merge, or discard this patch.