@@ -18,16 +18,16 @@ |
||
| 18 | 18 | * @param Exception $exception |
| 19 | 19 | * @return \Illuminate\Http\Response|\Illuminate\Http\JsonResponse |
| 20 | 20 | */ |
| 21 | - public function render($request, Exception $exception) |
|
| 21 | + public function render( $request, Exception $exception ) |
|
| 22 | 22 | { |
| 23 | - if ($request->expectsJson()) { |
|
| 24 | - $this->transformException($exception); |
|
| 23 | + if ( $request->expectsJson() ) { |
|
| 24 | + $this->transformException( $exception ); |
|
| 25 | 25 | } |
| 26 | 26 | |
| 27 | - if ($exception instanceof ApiException) { |
|
| 28 | - return $this->renderApiError($exception); |
|
| 27 | + if ( $exception instanceof ApiException ) { |
|
| 28 | + return $this->renderApiError( $exception ); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | - return parent::render($request, $exception); |
|
| 31 | + return parent::render( $request, $exception ); |
|
| 32 | 32 | } |
| 33 | 33 | } |
| 34 | 34 | \ No newline at end of file |