Fix notice
This commit is contained in:
parent
640facd26a
commit
dd6f6cb097
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue