1
0
mirror of synced 2025-02-02 21:41:45 +03:00

use PHP common functions

This commit is contained in:
ReenExe 2016-07-01 01:17:25 +03:00
parent 32ea9112fa
commit 015ec444c5

View File

@ -583,10 +583,7 @@ class ObjectHydrator extends AbstractHydrator
parent::onClear($eventArgs);
$aliases = array_keys($this->identifierMap);
$this->identifierMap = array();
foreach ($aliases as $alias) {
$this->identifierMap[$alias] = array();
}
$this->identifierMap = array_fill_keys($aliases, []);
}
}