Skip to content

EspoCRM – Open Source CRM Application

ref

Yuri Kuznetsov43af855e894b
diff --git a/application/Espo/Core/Acl/Table/RoleEntityWrapper.php b/application/Espo/Core/Acl/Table/RoleEntityWrapper.php
index 5c1823cbf9..7151476491 100644
--- a/application/Espo/Core/Acl/Table/RoleEntityWrapper.php
+++ b/application/Espo/Core/Acl/Table/RoleEntityWrapper.php
@@ -35,12 +35,8 @@ use stdClass;
class RoleEntityWrapper implements Role
{
- private $entity;
-
- public function __construct(Entity $entity)
- {
- $this->entity = $entity;
- }
+ public function __construct(private Entity $entity)
+ {}
public function getScopeTableData(): stdClass
{