diff --git a/src/Concerns/HasACL.php b/src/Concerns/HasACL.php index cec496b..745f4a9 100644 --- a/src/Concerns/HasACL.php +++ b/src/Concerns/HasACL.php @@ -130,12 +130,12 @@ public function loadACLCache(): void { $this->setRelation( 'roles', - Cache::rememberForever($this->makeACLCacheKey('roles'), static fn () => $this->roles()->get()), + Cache::rememberForever($this->makeACLCacheKey('roles'), fn () => $this->roles()->get()), ); $this->setRelation( 'permissions', - Cache::rememberForever($this->makeACLCacheKey('permissions'), static fn () => $this->permissions()->get()), + Cache::rememberForever($this->makeACLCacheKey('permissions'), fn () => $this->permissions()->get()), ); }