@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | */ |
16 | 16 | public function boot() |
17 | 17 | { |
18 | - $this->loadViewsFrom(__DIR__.'/../../resources/views/', 'apidoc'); |
|
18 | + $this->loadViewsFrom(__DIR__ . '/../../resources/views/', 'apidoc'); |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | /** |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | */ |
24 | 24 | public function register() |
25 | 25 | { |
26 | - $this->app['apidoc.generate'] = $this->app->share(function () { |
|
26 | + $this->app['apidoc.generate'] = $this->app->share(function() { |
|
27 | 27 | return new GenerateDocumentation(); |
28 | 28 | }); |
29 | 29 |
@@ -63,7 +63,7 @@ |
||
63 | 63 | } |
64 | 64 | |
65 | 65 | if ($actAs !== null) { |
66 | - if (version_compare($this->laravel->version(),'5.2.0', '<')) { |
|
66 | + if (version_compare($this->laravel->version(), '5.2.0', '<')) { |
|
67 | 67 | $userModel = config('auth.model'); |
68 | 68 | $user = $userModel::find($actAs); |
69 | 69 | $this->laravel['auth']->setUser($user); |
@@ -115,7 +115,7 @@ |
||
115 | 115 | */ |
116 | 116 | protected function fancyImplode($arr, $first, $last) |
117 | 117 | { |
118 | - $arr = array_map(function ($value) { |
|
118 | + $arr = array_map(function($value) { |
|
119 | 119 | return '`' . $value . '`'; |
120 | 120 | }, $arr); |
121 | 121 | array_push($arr, implode($last, array_splice($arr, -2))); |