Rename base response interface to Predis\Response\ResponseInterface.

This commit is contained in:
Daniele Alessandri
2013-12-07 15:22:42 +01:00
parent 6ece8c40a0
commit ee45de4f0e
12 changed files with 16 additions and 15 deletions
+3 -3
View File
@@ -268,7 +268,7 @@ class Client implements ClientInterface
$command = new RawCommand($arguments);
$response = $this->connection->executeCommand($command);
if ($response instanceof Response\ObjectInterface) {
if ($response instanceof Response\ResponseInterface) {
if ($response instanceof Response\ErrorInterface) {
$error = true;
}
@@ -310,7 +310,7 @@ class Client implements ClientInterface
{
$response = $this->connection->executeCommand($command);
if ($response instanceof Response\ObjectInterface) {
if ($response instanceof Response\ResponseInterface) {
if ($response instanceof Response\ErrorInterface) {
$response = $this->onResponseError($command, $response);
}
@@ -336,7 +336,7 @@ class Client implements ClientInterface
$response = $this->executeCommand($eval);
if (!$response instanceof Response\ObjectInterface) {
if (!$response instanceof Response\ResponseInterface) {
$response = $command->parseResponse($response);
}