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>
This commit is contained in:
parent
51197ac622
commit
5f6c7ba9a8
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue