]> BookStack Code Mirror - bookstack/blobdiff - app/Http/Controllers/Auth/UserInviteController.php
Normalize ini and properties values
[bookstack] / app / Http / Controllers / Auth / UserInviteController.php
index cfeb696482bdb8ad9df88d1c7c2fc4efa77bb362..8799d264cacee4c6ed0b45d997df8911ae4d4563 100644 (file)
@@ -54,12 +54,12 @@ class UserInviteController extends Controller
 
     /**
      * Sets the password for an invited user and then grants them access.
-     * @param string $token
      * @param Request $request
+     * @param string $token
      * @return RedirectResponse|Redirector
      * @throws Exception
      */
-    public function setPassword(string $token, Request $request)
+    public function setPassword(Request $request, string $token)
     {
         $this->validate($request, [
             'password' => 'required|min:8'
@@ -102,5 +102,4 @@ class UserInviteController extends Controller
 
         throw $exception;
     }
-
 }