Test Failed
Push — master ( f8d747...60918d )
by Gianluca
05:39
created
src/MongicommerceServiceProvider.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__.'/../database/migrations');
25 25
         $this->loadRoutesFrom(__DIR__.'/routes.php');
26 26
 
27
-        if(Schema::hasTable('admin_settings')){
27
+        if (Schema::hasTable('admin_settings')) {
28 28
             //inject global information into views
29 29
             View::share('mongicommerce', AdminSetting::first());
30 30
         }
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         if ($this->app->runningInConsole()) {
34 34
 
35 35
             $config_file = config_path('mongicommerce.php');
36
-            if(file_exists($config_file)){
36
+            if (file_exists($config_file)) {
37 37
                 File::delete($config_file);
38 38
             }
39 39
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'mongicommerce');
77 77
 
78 78
         // Register the main class to use with the facade
79
-        $this->app->singleton('mongicommerce', function () {
79
+        $this->app->singleton('mongicommerce', function() {
80 80
             return new Mongicommerce;
81 81
         });
82 82
     }
Please login to merge, or discard this patch.