]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/Access/UserInviteService.php
Added force option for update-url command
[bookstack] / app / Auth / Access / UserInviteService.php
index 20519fc7d4b98ae9f772a5387deb7fdfe9b84984..191a03dd5f1d0502372cfd911a6f25a7f4945f28 100644 (file)
@@ -1,17 +1,18 @@
-<?php namespace BookStack\Auth\Access;
+<?php
+
+namespace BookStack\Auth\Access;
 
 use BookStack\Auth\User;
 use BookStack\Notifications\UserInvite;
 
 class UserInviteService extends UserTokenService
 {
-    protected $tokenTable = 'user_invites';
-    protected $expiryTime = 336; // Two weeks
+    protected string $tokenTable = 'user_invites';
+    protected int $expiryTime = 336; // Two weeks
 
     /**
      * Send an invitation to a user to sign into BookStack
      * Removes existing invitation tokens.
-     * @param User $user
      */
     public function sendInvitation(User $user)
     {