← All changes
|
src/ai/authorization/application/token-manager-interface.php
+2
-2
28.0
→
28.5
View file →
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Invalidates the access token. |
| 26 | 26 | * |
| 27 | - * @param string $user_id The user ID. | |
| 27 | + * @param int $user_id The user ID. | |
| 28 | 28 | * |
| 29 | 29 | * @return void |
| 30 | 30 | * |
| 31 | 31 | * @throws Bad_Request_Exception Bad_Request_Exception. |
| @@ -36,9 +36,9 @@ | ||
| 36 | 36 | * @throws Service_Unavailable_Exception Service_Unavailable_Exception. |
| 37 | 37 | * @throws Too_Many_Requests_Exception Too_Many_Requests_Exception. |
| 38 | 38 | * @throws RuntimeException Unable to retrieve the access token. |
| 39 | 39 | */ |
| 40 | - public function token_invalidate( string $user_id ): void; | |
| 40 | + public function token_invalidate( int $user_id ): void; | |
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * Requests a new set of JWT tokens. |
| 44 | 44 | * |