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

DDC-4022 execute callback parameter directly instead of using call_user_func

This commit is contained in:
Maximilian Bosch 2015-12-01 19:03:00 +01:00 committed by Ma27
parent 11f9b00d53
commit f840f0d464

View File

@ -3287,7 +3287,7 @@ class UnitOfWork implements PropertyChangedListener
foreach (array_merge($this->persisters, $this->collectionPersisters) as $persister) {
if ($persister instanceof CachedPersister) {
call_user_func($callback, $persister);
$callback($persister);
}
}
}