diff --git a/Entity/Document.php b/Entity/Document.php index 67159ad7d..586d52035 100644 --- a/Entity/Document.php +++ b/Entity/Document.php @@ -162,7 +162,7 @@ class Document implements HasScopeInterface return $this->object; } - public function setObject(StoredObject $object) + public function setObject(StoredObject $object = null) { $this->object = $object;