We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -34,6 +34,6 @@ |
||
34 | 34 | */ |
35 | 35 | public function __construct() |
36 | 36 | { |
37 | - $this->middleware('guest', ['except' => 'logout']); |
|
37 | + $this->middleware('guest', [ 'except' => 'logout' ]); |
|
38 | 38 | } |
39 | 39 | } |
@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | public function __construct() |
13 | 13 | { |
14 | - $this->middleware('guest', ['except' => 'logout']); |
|
14 | + $this->middleware('guest', [ 'except' => 'logout' ]); |
|
15 | 15 | } |
16 | 16 | |
17 | 17 | public function redirectToProvider($provider) |
@@ -39,7 +39,9 @@ |
||
39 | 39 | } |
40 | 40 | |
41 | 41 | public function logout() { |
42 | - if (\Auth::check()) \Auth::logout(); |
|
42 | + if (\Auth::check()) { |
|
43 | + \Auth::logout(); |
|
44 | + } |
|
43 | 45 | return redirect('/'); |
44 | 46 | } |
45 | 47 | } |