#1515 removing redundant assignment, short array notation
This commit is contained in:
parent
9eb2d6139e
commit
aba486ea2d
@ -212,8 +212,10 @@ abstract class AbstractHydrator
|
|||||||
$this->_cache = [];
|
$this->_cache = [];
|
||||||
$this->_metadataCache = [];
|
$this->_metadataCache = [];
|
||||||
|
|
||||||
$evm = $this->_em->getEventManager();
|
$this
|
||||||
$evm->removeEventListener(array(Events::onClear), $this);
|
->_em
|
||||||
|
->getEventManager()
|
||||||
|
->removeEventListener([Events::onClear], $this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user