This commit is contained in:
Yuri Kuznetsov
2024-02-09 13:28:16 +02:00
parent 7f75ee6ed8
commit 5031e7f430
+2 -1
View File
@@ -240,7 +240,8 @@ class Note extends Entity
public function setSuperParent(LinkParent $superParent): self
{
$this->setValueObject('superParent', $superParent);
$this->set('superParentId', $superParent->getId());
$this->set('superParentType', $superParent->getEntityType());
return $this;
}