@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |