@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | protected function registerRouter() |
15 | 15 | { |
16 | - $this->app->singleton('router',function ($app) { |
|
16 | + $this->app->singleton('router', function($app) { |
|
17 | 17 | return new Router($app['events'], $app); |
18 | 18 | }); |
19 | 19 | } |
@@ -30,22 +30,22 @@ discard block |
||
30 | 30 | public function boot() |
31 | 31 | { |
32 | 32 | |
33 | - $this->loadViewsFrom(__DIR__ . '/../../views', 'expendable'); |
|
34 | - $this->loadTranslationsFrom(__DIR__ . '/../../lang', 'expendable'); |
|
35 | - $this->loadMigrationsFrom(__DIR__ . '/../../database/migrations/'); |
|
33 | + $this->loadViewsFrom(__DIR__.'/../../views', 'expendable'); |
|
34 | + $this->loadTranslationsFrom(__DIR__.'/../../lang', 'expendable'); |
|
35 | + $this->loadMigrationsFrom(__DIR__.'/../../database/migrations/'); |
|
36 | 36 | |
37 | 37 | |
38 | 38 | $this->publishes([ |
39 | - __DIR__ . '/../../config/config.php' => config_path('expendable.php'), |
|
40 | - __DIR__ . '/../../database/seeds/' => base_path('/database/seeds'), |
|
39 | + __DIR__.'/../../config/config.php' => config_path('expendable.php'), |
|
40 | + __DIR__.'/../../database/seeds/' => base_path('/database/seeds'), |
|
41 | 41 | ]); |
42 | 42 | |
43 | 43 | |
44 | 44 | $this->publishes([ |
45 | - __DIR__ . '/../../views' => base_path('resources/views/vendor/expendable'), |
|
45 | + __DIR__.'/../../views' => base_path('resources/views/vendor/expendable'), |
|
46 | 46 | ], 'views'); |
47 | 47 | $this->mergeConfigFrom( |
48 | - __DIR__ . '/../../config/config.php', 'expendable' |
|
48 | + __DIR__.'/../../config/config.php', 'expendable' |
|
49 | 49 | ); |
50 | 50 | |
51 | 51 | $autoLoaderListener = new \Distilleries\Expendable\Register\ListenerAutoLoader(config('expendable.listener')); |
@@ -128,13 +128,13 @@ discard block |
||
128 | 128 | protected function registerCommands() |
129 | 129 | { |
130 | 130 | $file = app('files'); |
131 | - $files = $file->allFiles(__DIR__ . '/Console/'); |
|
131 | + $files = $file->allFiles(__DIR__.'/Console/'); |
|
132 | 132 | |
133 | 133 | foreach ($files as $file) |
134 | 134 | { |
135 | 135 | if (strpos($file->getPathName(), 'Lib') === false) |
136 | 136 | { |
137 | - $this->commands('Distilleries\Expendable\Console\\' . preg_replace('/\.php/i', '', $file->getFilename())); |
|
137 | + $this->commands('Distilleries\Expendable\Console\\'.preg_replace('/\.php/i', '', $file->getFilename())); |
|
138 | 138 | } |
139 | 139 | } |
140 | 140 | } |