diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-23 15:20:04 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-10-23 15:20:04 +0200 |
commit | 33a24134a7cb6b7af08a097a5807c58888cba8c6 (patch) | |
tree | a29a6f9c0ae92adbed283b2388489f68f941f2f0 /lib/private/Authentication | |
parent | 58a57a714e0875d15da6513aecb6737bb3c603b5 (diff) | |
download | nextcloud-server-33a24134a7cb6b7af08a097a5807c58888cba8c6.tar.gz nextcloud-server-33a24134a7cb6b7af08a097a5807c58888cba8c6.zip |
Improve docblock annotations for tokens and their exceptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/private/Authentication')
3 files changed, 5 insertions, 2 deletions
diff --git a/lib/private/Authentication/Exceptions/ExpiredTokenException.php b/lib/private/Authentication/Exceptions/ExpiredTokenException.php index 18618a557f3..15069313712 100644 --- a/lib/private/Authentication/Exceptions/ExpiredTokenException.php +++ b/lib/private/Authentication/Exceptions/ExpiredTokenException.php @@ -28,7 +28,7 @@ namespace OC\Authentication\Exceptions; use OC\Authentication\Token\IToken; /** - * @deprecated 28.0.0 use OCP version instead + * @deprecated 28.0.0 use {@see \OCP\Authentication\Exceptions\ExpiredTokenException} instead */ class ExpiredTokenException extends \OCP\Authentication\Exceptions\ExpiredTokenException { public function __construct( diff --git a/lib/private/Authentication/Exceptions/WipeTokenException.php b/lib/private/Authentication/Exceptions/WipeTokenException.php index 9b24ca24430..25b7cb74359 100644 --- a/lib/private/Authentication/Exceptions/WipeTokenException.php +++ b/lib/private/Authentication/Exceptions/WipeTokenException.php @@ -28,7 +28,7 @@ namespace OC\Authentication\Exceptions; use OC\Authentication\Token\IToken; /** - * @deprecated 28.0.0 use OCP version instead + * @deprecated 28.0.0 use {@see \OCP\Authentication\Exceptions\WipeTokenException} instead */ class WipeTokenException extends \OCP\Authentication\Exceptions\WipeTokenException { public function __construct( diff --git a/lib/private/Authentication/Token/IToken.php b/lib/private/Authentication/Token/IToken.php index e8c3b638b9f..eb172f33396 100644 --- a/lib/private/Authentication/Token/IToken.php +++ b/lib/private/Authentication/Token/IToken.php @@ -28,5 +28,8 @@ namespace OC\Authentication\Token; use OCP\Authentication\Token\IToken as OCPIToken; +/** + * @deprecated 28.0.0 use {@see \OCP\Authentication\Token\IToken} instead + */ interface IToken extends OCPIToken { } |