#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->_hints = $hints;
|
||||
|
||||
$evm = $this->_em->getEventManager();
|
||||
$evm->addEventListener(array(Events::onClear), $this);
|
||||
$this->_em->getEventManager()->addEventListener([Events::onClear], $this);
|
||||
|
||||
$this->prepare();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user