@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Determine if the user matches the credentials. |
144 | 144 | * |
145 | - * @param mixed $user |
|
145 | + * @param AuthenticatableContract|null $user |
|
146 | 146 | * @param array $credentials |
147 | 147 | * @return bool |
148 | 148 | */ |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | /** |
326 | 326 | * getToken method |
327 | 327 | * |
328 | - * @return null|string |
|
328 | + * @return string |
|
329 | 329 | */ |
330 | 330 | public function getToken() |
331 | 331 | { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | * getEntityFromToken method |
57 | 57 | * |
58 | 58 | * @param string $token |
59 | - * @return mixed |
|
59 | + * @return Claim |
|
60 | 60 | * @throws InaccessibleException |
61 | 61 | * @throws MalformedException |
62 | 62 | * @throws TokenExpiredException |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * getValidClaimFromToken method |
130 | 130 | * |
131 | - * @param $token |
|
131 | + * @param string $token |
|
132 | 132 | * @return Claim |
133 | 133 | * @throws MalformedException |
134 | 134 | * @throws TokenExpiredException |