]> source.dussan.org Git - nextcloud-server.git/commitdiff
Do not document the obvious 16595/head
authorMorris Jobke <hey@morrisjobke.de>
Mon, 29 Jul 2019 13:25:53 +0000 (15:25 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Mon, 29 Jul 2019 13:25:54 +0000 (15:25 +0200)
This removes PHPDoc that is already available as source code type hints.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
settings/Controller/ChangePasswordController.php

index 7dbdbac02397ec24baad52fae2336a949624f282..190a8fafe5678f3bf186fac7b0f334b888d8b6d4 100644 (file)
@@ -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) {