Fix notice
This commit is contained in:
parent
640facd26a
commit
dd6f6cb097
@ -2456,6 +2456,6 @@ class UnitOfWork implements PropertyChangedListener
|
||||
if ( ! is_object($object) ) {
|
||||
throw new InvalidArgumentException("Managed entity required");
|
||||
}
|
||||
return $this->readOnlyObjects[spl_object_hash($object)];
|
||||
return isset($this->readOnlyObjects[spl_object_hash($object)]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user