Skip to content

EspoCRM – Open Source CRM Application

Types

Yurii9c93d0feecd1
diff --git a/application/Espo/Core/Acl/Table.php b/application/Espo/Core/Acl/Table.php
index 4e0cf230e7..78333a9d32 100644
--- a/application/Espo/Core/Acl/Table.php
+++ b/application/Espo/Core/Acl/Table.php
@@ -34,17 +34,17 @@ namespace Espo\Core\Acl;
*/
interface Table
{
- public const LEVEL_YES = 'yes';
- public const LEVEL_NO = 'no';
- public const LEVEL_ALL = 'all';
- public const LEVEL_TEAM = 'team';
- public const LEVEL_OWN = 'own';
+ public const string LEVEL_YES = 'yes';
+ public const string LEVEL_NO = 'no';
+ public const string LEVEL_ALL = 'all';
+ public const string LEVEL_TEAM = 'team';
+ public const string LEVEL_OWN = 'own';
- public const ACTION_READ = 'read';
- public const ACTION_STREAM = 'stream';
- public const ACTION_EDIT = 'edit';
- public const ACTION_DELETE = 'delete';
- public const ACTION_CREATE = 'create';
+ public const string ACTION_READ = 'read';
+ public const string ACTION_STREAM = 'stream';
+ public const string ACTION_EDIT = 'edit';
+ public const string ACTION_DELETE = 'delete';
+ public const string ACTION_CREATE = 'create';
/**
* Get scope data.
diff --git a/application/Espo/Core/Portal/Acl/Table.php b/application/Espo/Core/Portal/Acl/Table.php
index 78baea3d08..34edfa0377 100644
--- a/application/Espo/Core/Portal/Acl/Table.php
+++ b/application/Espo/Core/Portal/Acl/Table.php
@@ -36,8 +36,8 @@ use stdClass;
class Table extends BaseTable
{
- public const LEVEL_ACCOUNT = 'account';
- public const LEVEL_CONTACT = 'contact';
+ public const string LEVEL_ACCOUNT = 'account';
+ public const string LEVEL_CONTACT = 'contact';
protected string $type = 'aclPortal';