This commit is contained in:
Yurii
2026-01-05 10:40:54 +02:00
parent 7a444a6663
commit e1be537667

View File

@@ -53,15 +53,15 @@ use Espo\Tools\EntityManager\NameUtil;
*/
class LinkManager
{
private const MANY_TO_MANY = 'manyToMany';
private const MANY_TO_ONE = 'manyToOne';
private const ONE_TO_MANY = 'oneToMany';
private const CHILDREN_TO_PARENT = 'childrenToParent';
private const ONE_TO_ONE_LEFT = 'oneToOneLeft';
private const ONE_TO_ONE_RIGHT = 'oneToOneRight';
private const string MANY_TO_MANY = 'manyToMany';
private const string MANY_TO_ONE = 'manyToOne';
private const string ONE_TO_MANY = 'oneToMany';
private const string CHILDREN_TO_PARENT = 'childrenToParent';
private const string ONE_TO_ONE_LEFT = 'oneToOneLeft';
private const string ONE_TO_ONE_RIGHT = 'oneToOneRight';
// 64 - 3
private const MAX_LINK_NAME_LENGTH = 61;
private const int MAX_LINK_NAME_LENGTH = 61;
public function __construct(
private Metadata $metadata,
@@ -70,7 +70,7 @@ class LinkManager
private DataManager $dataManager,
private LinkHookProcessor $linkHookProcessor,
private NameUtil $nameUtil,
private Route $routeUtil
private Route $routeUtil,
) {}
/**