#6623 minor code cleanups (removing useless assignments, array callback syntax)
This commit is contained in:
parent
7024926f10
commit
ff3c89d8b1
@ -143,8 +143,7 @@ abstract class AbstractHydrator
|
|||||||
$this->_rsm = $resultSetMapping;
|
$this->_rsm = $resultSetMapping;
|
||||||
$this->_hints = $hints;
|
$this->_hints = $hints;
|
||||||
|
|
||||||
$evm = $this->_em->getEventManager();
|
$this->_em->getEventManager()->addEventListener([Events::onClear], $this);
|
||||||
$evm->addEventListener(array(Events::onClear), $this);
|
|
||||||
|
|
||||||
$this->prepare();
|
$this->prepare();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user