EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Comment
Yurii9538839455d2
diff --git a/application/Espo/Tools/EntityManager/EntityManager.php b/application/Espo/Tools/EntityManager/EntityManager.phpindex 1dab8900d0..bf6326f1ca 100644--- a/application/Espo/Tools/EntityManager/EntityManager.php+++ b/application/Espo/Tools/EntityManager/EntityManager.php@@ -51,13 +51,15 @@ use RuntimeException;/*** Administration > Entity Manager.+ *+ * @todo Rename to EntityTypeManager.*/class EntityManager{- private const DEFAULT_PARAM_LOCATION = 'scopes';+ private const string DEFAULT_PARAM_LOCATION = 'scopes';/** @var string[] */- private const ALLOWED_PARAM_LOCATIONS = [+ private const array ALLOWED_PARAM_LOCATIONS = ['scopes','entityDefs','clientDefs',@@ -75,7 +77,7 @@ class EntityManagerprivate DataManager $dataManager,private InjectableFactory $injectableFactory,private NameUtil $nameUtil,- private LinkManager $linkManager+ private LinkManager $linkManager,) {}/**