mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 05:44:24 +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;
|
return $this->object;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function setObject(StoredObject $object)
|
public function setObject(StoredObject $object = null)
|
||||||
{
|
{
|
||||||
$this->object = $object;
|
$this->object = $object;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user