Fixing incorrect constructor params for PreFlushEventArgs
This commit is contained in:
parent
3ebed101fd
commit
f281dbbf54
@ -524,7 +524,7 @@ class UnitOfWork implements PropertyChangedListener
|
|||||||
$invoke = $this->listenersInvoker->getSubscribedSystems($class, Events::preFlush);
|
$invoke = $this->listenersInvoker->getSubscribedSystems($class, Events::preFlush);
|
||||||
|
|
||||||
if ($invoke !== ListenersInvoker::INVOKE_NONE) {
|
if ($invoke !== ListenersInvoker::INVOKE_NONE) {
|
||||||
$this->listenersInvoker->invoke($class, Events::preFlush, $entity, new PreFlushEventArgs($entity, $this->em), $invoke);
|
$this->listenersInvoker->invoke($class, Events::preFlush, $entity, new PreFlushEventArgs($this->em), $invoke);
|
||||||
}
|
}
|
||||||
|
|
||||||
$actualData = array();
|
$actualData = array();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user