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
|
* @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 {
|
||||||
/**
|
/**
|
||||||
* @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) {
|
||||||
|
|
Loading…
Reference in New Issue