@@ -15,11 +15,11 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function boot() |
| 17 | 17 | { |
| 18 | - $this->loadViewsFrom(__DIR__.'/../../resources/views/', 'apidoc'); |
|
| 19 | - $this->loadTranslationsFrom(__DIR__.'/../../resources/lang', 'apidoc'); |
|
| 18 | + $this->loadViewsFrom(__DIR__ . '/../../resources/views/', 'apidoc'); |
|
| 19 | + $this->loadTranslationsFrom(__DIR__ . '/../../resources/lang', 'apidoc'); |
|
| 20 | 20 | |
| 21 | 21 | $this->publishes([ |
| 22 | - __DIR__.'/../../resources/lang' => $this->resource_path('lang/vendor/apidoc'), |
|
| 22 | + __DIR__ . '/../../resources/lang' => $this->resource_path('lang/vendor/apidoc'), |
|
| 23 | 23 | ]); |
| 24 | 24 | } |
| 25 | 25 | |
@@ -30,10 +30,10 @@ discard block |
||
| 30 | 30 | */ |
| 31 | 31 | public function register() |
| 32 | 32 | { |
| 33 | - $this->app['apidoc.generate'] = $this->app->share(function () { |
|
| 33 | + $this->app['apidoc.generate'] = $this->app->share(function() { |
|
| 34 | 34 | return new GenerateDocumentation(); |
| 35 | 35 | }); |
| 36 | - $this->app['apidoc.update'] = $this->app->share(function () { |
|
| 36 | + $this->app['apidoc.update'] = $this->app->share(function() { |
|
| 37 | 37 | return new UpdateDocumentation(); |
| 38 | 38 | }); |
| 39 | 39 | |
@@ -52,6 +52,6 @@ discard block |
||
| 52 | 52 | */ |
| 53 | 53 | public function resource_path($path = '') |
| 54 | 54 | { |
| 55 | - return app()->basePath().'/resources'.($path ? '/'.$path : $path); |
|
| 55 | + return app()->basePath() . '/resources' . ($path ? '/' . $path : $path); |
|
| 56 | 56 | } |
| 57 | 57 | } |