DDC-4022 execute callback parameter directly instead of using call_user_func
This commit is contained in:
parent
11f9b00d53
commit
f840f0d464
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user