mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 10:29:42 +00:00
Allow Document to receive null object
Those null object will be checked later by validation
This commit is contained in:
@@ -162,7 +162,7 @@ class Document implements HasScopeInterface
|
|||||||
return $this->object;
|
return $this->object;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setObject(StoredObject $object)
|
public function setObject(StoredObject $object = null)
|
||||||
{
|
{
|
||||||
$this->object = $object;
|
$this->object = $object;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user