Skip to content
Snippets Groups Projects
Unverified Commit e341e694 authored by Roeland Jago Douma's avatar Roeland Jago Douma Committed by GitHub
Browse files

Merge pull request #16595 from nextcloud/tech-debt/noid/no-need-to-document-the-obvious

Do not document the obvious
parents 74eb2894 5f6c7ba9
No related branches found
No related tags found
No related merge requests found
...@@ -83,11 +83,6 @@ class ChangePasswordController extends Controller { ...@@ -83,11 +83,6 @@ class ChangePasswordController extends Controller {
* @NoAdminRequired * @NoAdminRequired
* @NoSubadminRequired * @NoSubadminRequired
* @BruteForceProtection(action=changePersonalPassword) * @BruteForceProtection(action=changePersonalPassword)
*
* @param string $oldpassword
* @param string $newpassword
*
* @return JSONResponse
*/ */
public function changePersonalPassword(string $oldpassword = '', string $newpassword = null): JSONResponse { public function changePersonalPassword(string $oldpassword = '', string $newpassword = null): JSONResponse {
/** @var IUser $user */ /** @var IUser $user */
...@@ -132,12 +127,6 @@ class ChangePasswordController extends Controller { ...@@ -132,12 +127,6 @@ class ChangePasswordController extends Controller {
/** /**
* @NoAdminRequired * @NoAdminRequired
* @PasswordConfirmationRequired * @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 { public function changeUserPassword(string $username = null, string $password = null, string $recoveryPassword = null): JSONResponse {
if ($username === null) { if ($username === null) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment