Explorar o código

Wrong parameters passed to ClientException on write errors over the network.

Daniele Alessandri %!s(int64=16) %!d(string=hai) anos
pai
achega
70907adcce
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      lib/Predis.php

+ 2 - 2
lib/Predis.php

@@ -817,9 +817,9 @@ class Connection implements IConnection {
         $written = fwrite($this->getSocket(), $command());
         if ($written === false){
            throw new ClientException(sprintf(
-               'An error has occurred while writing command %s on the network stream'),
+               'An error has occurred while writing command %s on the network stream',
                $command->getCommandId()
-           );
+           ));
         }
     }