5
5
use Exception ;
6
6
use Illuminate \Auth \AuthenticationException ;
7
7
use Illuminate \Foundation \Exceptions \Handler as ExceptionHandler ;
8
- use Laravel \Socialite \Two \InvalidStateException ;
9
8
use Illuminate \Validation \ValidationException ;
9
+ use Laravel \Socialite \Two \InvalidStateException ;
10
10
11
11
class Handler extends ExceptionHandler
12
12
{
@@ -29,7 +29,8 @@ class Handler extends ExceptionHandler
29
29
*
30
30
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
31
31
*
32
- * @param \Exception $exception
32
+ * @param \Exception $exception
33
+ *
33
34
* @return void
34
35
*/
35
36
public function report (Exception $ exception )
@@ -40,8 +41,9 @@ public function report(Exception $exception)
40
41
/**
41
42
* Render an exception into an HTTP response.
42
43
*
43
- * @param \Illuminate\Http\Request $request
44
- * @param \Exception $exception
44
+ * @param \Illuminate\Http\Request $request
45
+ * @param \Exception $exception
46
+ *
45
47
* @return \Illuminate\Http\Response
46
48
*/
47
49
public function render ($ request , Exception $ exception )
@@ -64,8 +66,9 @@ public function render($request, Exception $exception)
64
66
/**
65
67
* Convert an authentication exception into an unauthenticated response.
66
68
*
67
- * @param \Illuminate\Http\Request $request
68
- * @param \Illuminate\Auth\AuthenticationException $exception
69
+ * @param \Illuminate\Http\Request $request
70
+ * @param \Illuminate\Auth\AuthenticationException $exception
71
+ *
69
72
* @return \Illuminate\Http\Response
70
73
*/
71
74
protected function unauthenticated ($ request , AuthenticationException $ exception )
0 commit comments