@@ -7,7 +7,7 @@ |
||
| 7 | 7 | /** |
| 8 | 8 | * Check whether the current user is authorized to impersonate. |
| 9 | 9 | * |
| 10 | - * @param null $guard |
|
| 10 | + * @param null|string $guard |
|
| 11 | 11 | * @return bool |
| 12 | 12 | */ |
| 13 | 13 | function can_impersonate(string $guard = null): bool |
@@ -9,8 +9,7 @@ discard block |
||
| 9 | 9 | /** |
| 10 | 10 | * Log a user into the application without firing the Login event. |
| 11 | 11 | * |
| 12 | - * @param \Illuminate\Contracts\Auth\Authenticatable $user |
|
| 13 | - * @return void |
|
| 12 | + * @return \Closure |
|
| 14 | 13 | */ |
| 15 | 14 | public function quietLogin() |
| 16 | 15 | { |
@@ -26,7 +25,7 @@ discard block |
||
| 26 | 25 | * and without firing the Logout event. |
| 27 | 26 | * |
| 28 | 27 | * @param void |
| 29 | - * @return void |
|
| 28 | + * @return \Closure |
|
| 30 | 29 | */ |
| 31 | 30 | public function quietLogout() |
| 32 | 31 | { |