Completed
Pull Request — master (#20)
by
unknown
03:28
created
src/Exceptions/Handler.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -18,16 +18,16 @@
 block discarded – undo
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
Please login to merge, or discard this patch.