mirror of
https://github.com/predis/predis.git
synced 2026-10-15 16:26:48 +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\ResponseError;
|
||||
use Predis\ResponseQueued;
|
||||
use Predis\ServerException;
|
||||
@@ -117,7 +117,7 @@ class TextProtocol implements ProtocolInterface
|
||||
return new ResponseError($payload);
|
||||
|
||||
default:
|
||||
Helpers::onCommunicationException(new ProtocolException(
|
||||
CommunicationException::handle(new ProtocolException(
|
||||
$connection, "Unknown prefix: '$prefix'"
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user