From f840f0d464ab1de5068968c020001d09daf685f1 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 1 Dec 2015 19:03:00 +0100 Subject: [PATCH] DDC-4022 execute callback parameter directly instead of using call_user_func --- lib/Doctrine/ORM/UnitOfWork.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/ORM/UnitOfWork.php b/lib/Doctrine/ORM/UnitOfWork.php index 456055493..44b89cd2d 100644 --- a/lib/Doctrine/ORM/UnitOfWork.php +++ b/lib/Doctrine/ORM/UnitOfWork.php @@ -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); } } }