mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Allow Document to receive null object
Those null object will be checked later by validation
This commit is contained in:
parent
3c1f36dc19
commit
823aee2264
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user