@@ -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 |
@@ -30,6 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @param int $id |
| 33 | + * @param string $guardName |
|
| 33 | 34 | * @return \Illuminate\Contracts\Auth\Authenticatable |
| 34 | 35 | * @throws Exception |
| 35 | 36 | */ |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * @return RedirectResponse |
|
| 60 | + * @return JsonResource|null |
|
| 61 | 61 | */ |
| 62 | 62 | public function leave() |
| 63 | 63 | { |