mirror of
https://github.com/predis/predis.git
synced 2026-09-11 19:07:30 +00:00
Make it possible to use any type of callable to execute a transaction.
This commit is contained in:
@@ -390,7 +390,7 @@ class MultiExecContext
|
||||
$this->flagState(self::STATE_INSIDEBLOCK);
|
||||
|
||||
try {
|
||||
$callable($this);
|
||||
call_user_func($callable, $this);
|
||||
}
|
||||
catch (CommunicationException $exception) {
|
||||
$blockException = $exception;
|
||||
|
||||
Reference in New Issue
Block a user