@@ -33,19 +33,19 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function boot() |
35 | 35 | { |
36 | - $viewPath = __DIR__.'/../resources/views'; |
|
36 | + $viewPath = __DIR__ . '/../resources/views'; |
|
37 | 37 | $this->loadViewsFrom($viewPath, 'opendox'); |
38 | 38 | |
39 | - $configPath = __DIR__.'/../config/opendox.php'; |
|
39 | + $configPath = __DIR__ . '/../config/opendox.php'; |
|
40 | 40 | if (function_exists('config_path')) { |
41 | 41 | $publishPath = config_path('opendox.php'); |
42 | 42 | } else { |
43 | 43 | $publishPath = base_path('config/opendox.php'); |
44 | 44 | } |
45 | - $this->publishes([$configPath => $publishPath], 'config'); |
|
45 | + $this->publishes([ $configPath => $publishPath ], 'config'); |
|
46 | 46 | |
47 | - $this->app->router->group(['namespace' => 'Noitran\Opendox'], function ($router) { |
|
48 | - require __DIR__.'/routes/routes.php'; |
|
47 | + $this->app->router->group([ 'namespace' => 'Noitran\Opendox' ], function($router) { |
|
48 | + require __DIR__ . '/routes/routes.php'; |
|
49 | 49 | }); |
50 | 50 | } |
51 | 51 | |
@@ -56,10 +56,10 @@ discard block |
||
56 | 56 | */ |
57 | 57 | public function register() |
58 | 58 | { |
59 | - $configPath = __DIR__.'/../config/opendox.php'; |
|
59 | + $configPath = __DIR__ . '/../config/opendox.php'; |
|
60 | 60 | $this->mergeConfigFrom($configPath, 'opendox'); |
61 | 61 | |
62 | - $this->app->singleton('command.opendox.transform-docs', function () { |
|
62 | + $this->app->singleton('command.opendox.transform-docs', function() { |
|
63 | 63 | return new TransformDocsCommand(); |
64 | 64 | }); |
65 | 65 |