@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | public function boot() |
| 15 | 15 | { |
| 16 | 16 | // $this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'raystech'); |
| 17 | - if(config('starter-kit.route_enable', false)) { |
|
| 17 | + if (config('starter-kit.route_enable', false)) { |
|
| 18 | 18 | $this->loadRoutesFrom(__DIR__.'/Routes/web.php'); |
| 19 | 19 | } |
| 20 | 20 | $this->loadHelpers(); |
@@ -66,10 +66,10 @@ discard block |
||
| 66 | 66 | // Publishing the configuration file. |
| 67 | 67 | // echo "Publishing StarterKit Config ...\n"; |
| 68 | 68 | $this->publishes([ |
| 69 | - __DIR__ . '/../config/starter-kit.php' => config_path('starter-kit.php'), |
|
| 69 | + __DIR__.'/../config/starter-kit.php' => config_path('starter-kit.php'), |
|
| 70 | 70 | ], 'config'); |
| 71 | 71 | |
| 72 | - $this->mergeConfigFrom(__DIR__ . '/../config/starter-kit.php', 'StarterKit'); |
|
| 72 | + $this->mergeConfigFrom(__DIR__.'/../config/starter-kit.php', 'StarterKit'); |
|
| 73 | 73 | } |
| 74 | 74 | |
| 75 | 75 | /** |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | public function register() |
| 81 | 81 | { |
| 82 | 82 | // Register the service the package provides. |
| 83 | - $this->app->singleton('StarterKit', function ($app) { |
|
| 83 | + $this->app->singleton('StarterKit', function($app) { |
|
| 84 | 84 | return new StarterKit; |
| 85 | 85 | }); |
| 86 | 86 | |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | ); |
| 93 | 93 | |
| 94 | 94 | // Register Flash Toast |
| 95 | - $this->app->singleton('flashtoast', function () { |
|
| 95 | + $this->app->singleton('flashtoast', function() { |
|
| 96 | 96 | return $this->app->make('RaysTech\StarterKit\Supports\FlashToast'); |
| 97 | 97 | }); |
| 98 | 98 | } |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | public function loadHelpers() { |
| 111 | - foreach (glob(__DIR__ . '/Helpers/*.php') as $filename) { |
|
| 111 | + foreach (glob(__DIR__.'/Helpers/*.php') as $filename) { |
|
| 112 | 112 | require_once($filename); |
| 113 | 113 | } |
| 114 | 114 | } |