type fixes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user