]> BookStack Code Mirror - bookstack/blobdiff - app/Auth/User.php
Updated attachment links to have dropdown for open type
[bookstack] / app / Auth / User.php
index b7f88b59003ff80457ccca05e2dab53c16c30eea..4e21832449d5a6ab1068e82e3b136c151bf72f6f 100644 (file)
@@ -77,17 +77,15 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon
 
     /**
      * This holds the user's permissions when loaded.
-     *
-     * @var ?Collection
      */
-    protected $permissions;
+    protected ?Collection $permissions;
 
     /**
      * This holds the default user when loaded.
      *
      * @var null|User
      */
-    protected static $defaultUser = null;
+    protected static ?User $defaultUser = null;
 
     /**
      * Returns the default public user.