From 5f6c7ba9a8fe4240e96f6f4a5a3d4f6e452fe832 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 29 Jul 2019 15:25:53 +0200 Subject: [PATCH] Do not document the obvious This removes PHPDoc that is already available as source code type hints. Signed-off-by: Morris Jobke --- settings/Controller/ChangePasswordController.php | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/settings/Controller/ChangePasswordController.php b/settings/Controller/ChangePasswordController.php index 7dbdbac0239..190a8fafe56 100644 --- a/settings/Controller/ChangePasswordController.php +++ b/settings/Controller/ChangePasswordController.php @@ -83,11 +83,6 @@ class ChangePasswordController extends Controller { * @NoAdminRequired * @NoSubadminRequired * @BruteForceProtection(action=changePersonalPassword) - * - * @param string $oldpassword - * @param string $newpassword - * - * @return JSONResponse */ public function changePersonalPassword(string $oldpassword = '', string $newpassword = null): JSONResponse { /** @var IUser $user */ @@ -132,12 +127,6 @@ class ChangePasswordController extends Controller { /** * @NoAdminRequired * @PasswordConfirmationRequired - * - * @param string $username - * @param string $password - * @param string $recoveryPassword - * - * @return JSONResponse */ public function changeUserPassword(string $username = null, string $password = null, string $recoveryPassword = null): JSONResponse { if ($username === null) { -- 2.39.5