1
0
mirror of synced 2025-02-09 08:49:26 +03:00

#6623 minor code cleanups (removing useless assignments, array callback syntax)

This commit is contained in:
Marco Pivetta 2017-08-16 15:10:27 +02:00
parent 7024926f10
commit ff3c89d8b1
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

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