From 82fb8f850828d24f551ad5ef3b8523486e5104df Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 14 May 2025 15:51:42 +0200 Subject: refactor: Extend rector to core/ Signed-off-by: provokateurin --- core/Controller/WhatsNewController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/Controller/WhatsNewController.php') diff --git a/core/Controller/WhatsNewController.php b/core/Controller/WhatsNewController.php index 86192d8f466..b3bb7becbac 100644 --- a/core/Controller/WhatsNewController.php +++ b/core/Controller/WhatsNewController.php @@ -19,6 +19,7 @@ use OCP\IRequest; use OCP\IUserManager; use OCP\IUserSession; use OCP\L10N\IFactory; +use OCP\PreConditionNotMetException; use OCP\ServerVersion; class WhatsNewController extends OCSController { @@ -88,7 +89,7 @@ class WhatsNewController extends OCSController { * @param string $version Version to dismiss the changes for * * @return DataResponse, array{}> - * @throws \OCP\PreConditionNotMetException + * @throws PreConditionNotMetException * @throws DoesNotExistException * * 200: Changes dismissed -- cgit v1.2.3