1
0
mirror of synced 2025-01-20 15:31:40 +03:00

Fixing incorrect constructor params for PreFlushEventArgs

This commit is contained in:
Marco Pivetta 2013-02-04 20:46:51 +01:00
parent 3ebed101fd
commit f281dbbf54

View File

@ -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();