summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2019-07-30 08:42:31 +0200
committerGitHub <noreply@github.com>2019-07-30 08:42:31 +0200
commite341e6946bfdeb648508d7497bcf7913532a8b09 (patch)
treeef9fa2a57300f81c326acab8776eec2c08f81cfe
parent74eb2894a79f95ce4d08db19763d59dc8f489690 (diff)
parent5f6c7ba9a8fe4240e96f6f4a5a3d4f6e452fe832 (diff)
downloadnextcloud-server-e341e6946bfdeb648508d7497bcf7913532a8b09.tar.gz
nextcloud-server-e341e6946bfdeb648508d7497bcf7913532a8b09.zip
Merge pull request #16595 from nextcloud/tech-debt/noid/no-need-to-document-the-obvious
Do not document the obvious
-rw-r--r--settings/Controller/ChangePasswordController.php11
1 files changed, 0 insertions, 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) {