mirror of
https://github.com/predis/predis.git
synced 2026-08-28 03:02:04 +00:00
Deprecate the whole Predis\Helpers class.
This commit is contained in:
@@ -17,7 +17,6 @@ use Predis\ClientException;
|
||||
use Predis\ClientInterface;
|
||||
use Predis\CommunicationException;
|
||||
use Predis\ExecutableContextInterface;
|
||||
use Predis\Helpers;
|
||||
use Predis\NotSupportedException;
|
||||
use Predis\ResponseErrorInterface;
|
||||
use Predis\ResponseQueued;
|
||||
@@ -443,7 +442,7 @@ class MultiExecContext implements BasicClientInterface, ExecutableContextInterfa
|
||||
// Since a MULTI/EXEC block cannot be initialized when using aggregated
|
||||
// connections, we can safely assume that Predis\Client::getConnection()
|
||||
// will always return an instance of Predis\Connection\SingleConnectionInterface.
|
||||
Helpers::onCommunicationException(new ProtocolException(
|
||||
CommunicationException::handle(new ProtocolException(
|
||||
$this->client->getConnection(), $message
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user