#6623 minor code cleanups (removing useless assignments, array callback syntax)
This commit is contained in:
parent
7024926f10
commit
ff3c89d8b1
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue