Skip to content

Commit

Permalink
DDC-4022 execute callback parameter directly instead of using call_us…
Browse files Browse the repository at this point in the history
…er_func
  • Loading branch information
Ma27 committed Dec 1, 2015
1 parent 11f9b00 commit f840f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/ORM/UnitOfWork.php
Original file line number Diff line number Diff line change
Expand Up @@ -3287,7 +3287,7 @@ private function performCallbackOnCachedPersister(callable $callback)

foreach (array_merge($this->persisters, $this->collectionPersisters) as $persister) {
if ($persister instanceof CachedPersister) {
call_user_func($callback, $persister);
$callback($persister);
}
}
}
Expand Down

0 comments on commit f840f0d

Please sign in to comment.