From: Morris Jobke Date: Mon, 29 Jul 2019 13:25:53 +0000 (+0200) Subject: Do not document the obvious X-Git-Tag: v17.0.0beta1~69^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5f6c7ba9a8fe4240e96f6f4a5a3d4f6e452fe832;p=nextcloud-server.git Do not document the obvious This removes PHPDoc that is already available as source code type hints. Signed-off-by: Morris Jobke --- 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) {