mirror of
https://github.com/predis/predis.git
synced 2026-08-25 13:49:43 +00:00
Deprecate the whole Predis\Helpers class.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Predis\Protocol\Text;
|
||||
|
||||
use Predis\Helpers;
|
||||
use Predis\CommunicationException;
|
||||
use Predis\Connection\ComposableConnectionInterface;
|
||||
use Predis\Protocol\ProtocolException;
|
||||
use Predis\Protocol\ResponseHandlerInterface;
|
||||
@@ -108,6 +108,6 @@ class TextResponseReader implements ResponseReaderInterface
|
||||
*/
|
||||
private function protocolError(ComposableConnectionInterface $connection, $message)
|
||||
{
|
||||
Helpers::onCommunicationException(new ProtocolException($connection, $message));
|
||||
CommunicationException::handle(new ProtocolException($connection, $message));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user