aboutsummaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-07-29 15:25:53 +0200
committerMorris Jobke <hey@morrisjobke.de>2019-07-29 15:25:54 +0200
commit5f6c7ba9a8fe4240e96f6f4a5a3d4f6e452fe832 (patch)
tree7f6d5ecd9ada406428b0ea7b6026ce215a458386 /settings
parent51197ac62216c6ed8e18af3e0a8e8323684d6955 (diff)
downloadnextcloud-server-5f6c7ba9a8fe4240e96f6f4a5a3d4f6e452fe832.tar.gz
nextcloud-server-5f6c7ba9a8fe4240e96f6f4a5a3d4f6e452fe832.zip
Do not document the obvious
This removes PHPDoc that is already available as source code type hints. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-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) {