type fixes

This commit is contained in:
Yuri Kuznetsov
2022-03-24 10:54:51 +02:00
parent 69d88f9b76
commit eaed64fe6a
17 changed files with 103 additions and 19 deletions
+5
View File
@@ -33,6 +33,7 @@ use Espo\Core\ORM\Entity;
use Espo\Core\Field\DateTime;
use RuntimeException;
use stdClass;
class Note extends Entity
@@ -145,6 +146,10 @@ class Note extends Entity
return;
}
if (!$this->entityManager) {
throw new RuntimeException();
}
$attachmentsIds = $data->attachmentsIds;
$collection = $this->entityManager