@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | $this->loadMigrationsFrom(module_path('reporting', 'Database/Migrations', 'app')); |
| 20 | 20 | $this->loadFactoriesFrom(module_path('reporting', 'Database/Factories', 'app')); |
| 21 | - if(!$this->app->configurationIsCached()) { |
|
| 21 | + if ( ! $this->app->configurationIsCached()) { |
|
| 22 | 22 | $this->loadConfigsFrom(module_path('reporting', 'Config', 'app')); |
| 23 | 23 | } |
| 24 | 24 | } |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | return \Response::json(['errors' => [$errors]], $e->getStatusCode()); |
| 66 | 66 | } elseif ($e instanceof \Illuminate\Validation\ValidationException) {
|
| 67 | 67 | return \Response::json(['errors' => $e->errors()], 422); |
| 68 | - } elseif (! $e instanceof \Symfony\Component\ErrorHandler\Error\FatalError) {
|
|
| 68 | + } elseif ( ! $e instanceof \Symfony\Component\ErrorHandler\Error\FatalError) {
|
|
| 69 | 69 | return parent::render($request, $e); |
| 70 | 70 | } |
| 71 | 71 | } |