mirror of
https://github.com/predis/predis.git
synced 2026-08-30 20:21:31 +00:00
Less lines of code please.
This commit is contained in:
+1
-2
@@ -519,8 +519,7 @@ class MultiExecContext {
|
||||
}
|
||||
$this->reset();
|
||||
if (isset($this->_options['on_retry']) && is_callable($this->_options['on_retry'])) {
|
||||
$retryCallback = $this->_options['on_retry'];
|
||||
call_user_func($retryCallback, $this, $attemptsLeft);
|
||||
call_user_func($this->_options['on_retry'], $this, $attemptsLeft);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user