]> BookStack Code Mirror - bookstack/blobdiff - app/Access/EmailConfirmationService.php
respective book and chapter structure added.
[bookstack] / app / Access / EmailConfirmationService.php
index de9ea69b882302236760a8202f62880eb77622f8..1a5156d3e7aeba5237b405b035653d20379a5298 100644 (file)
@@ -17,7 +17,7 @@ class EmailConfirmationService extends UserTokenService
      *
      * @throws ConfirmationEmailException
      */
-    public function sendConfirmation(User $user)
+    public function sendConfirmation(User $user): void
     {
         if ($user->email_confirmed) {
             throw new ConfirmationEmailException(trans('errors.email_already_confirmed'), '/login');