We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -123,7 +123,7 @@ |
||
123 | 123 | * The user has been authenticated. |
124 | 124 | * |
125 | 125 | * @param \Illuminate\Http\Request $request |
126 | - * @param mixed $user |
|
126 | + * @param \Illuminate\Contracts\Auth\Authenticatable|null $user |
|
127 | 127 | * @return mixed |
128 | 128 | */ |
129 | 129 | protected function authenticated(Request $request, $user) |
@@ -45,7 +45,7 @@ |
||
45 | 45 | // will update the password on an actual user model and persist it to the |
46 | 46 | // database. Otherwise we will parse the error and return the response. |
47 | 47 | $response = $this->broker()->reset( |
48 | - $this->credentials($request), function ($user, $password) { |
|
48 | + $this->credentials($request), function($user, $password) { |
|
49 | 49 | $this->resetPassword($user, $password); |
50 | 50 | } |
51 | 51 | ); |
@@ -34,11 +34,11 @@ |
||
34 | 34 | */ |
35 | 35 | public function verify(Request $request) |
36 | 36 | { |
37 | - if (! hash_equals((string) $request->route('id'), (string) $request->user()->getKey())) { |
|
37 | + if (!hash_equals((string) $request->route('id'), (string) $request->user()->getKey())) { |
|
38 | 38 | throw new AuthorizationException; |
39 | 39 | } |
40 | 40 | |
41 | - if (! hash_equals((string) $request->route('hash'), sha1($request->user()->getEmailForVerification()))) { |
|
41 | + if (!hash_equals((string) $request->route('hash'), sha1($request->user()->getEmailForVerification()))) { |
|
42 | 42 | throw new AuthorizationException; |
43 | 43 | } |
44 | 44 |