mirror of
https://github.com/predis/predis.git
synced 2026-10-15 16:26:48 +00:00
Rename classes in Predis\Transaction.
This commit is contained in:
@@ -23,11 +23,11 @@ class AbortedMultiExecException extends PredisException
|
||||
private $transaction;
|
||||
|
||||
/**
|
||||
* @param MultiExecContext $transaction Transaction that generated the exception.
|
||||
* @param MultiExec $transaction Transaction that generated the exception.
|
||||
* @param string $message Error message.
|
||||
* @param int $code Error code.
|
||||
*/
|
||||
public function __construct(MultiExecContext $transaction, $message, $code = null)
|
||||
public function __construct(MultiExec $transaction, $message, $code = null)
|
||||
{
|
||||
parent::__construct($message, $code);
|
||||
$this->transaction = $transaction;
|
||||
@@ -36,7 +36,7 @@ class AbortedMultiExecException extends PredisException
|
||||
/**
|
||||
* Returns the transaction that generated the exception.
|
||||
*
|
||||
* @return MultiExecContext
|
||||
* @return MultiExec
|
||||
*/
|
||||
public function getTransaction()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user