use internal function
This commit is contained in:
parent
52b2d9022a
commit
c0fc4f1158
@ -2975,7 +2975,7 @@ class UnitOfWork implements PropertyChangedListener
|
||||
*/
|
||||
public function size()
|
||||
{
|
||||
$countArray = array_map(function ($item) { return count($item); }, $this->identityMap);
|
||||
$countArray = array_map('count', $this->identityMap);
|
||||
|
||||
return array_sum($countArray);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user