Jelajahi Sumber

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

Daniele Alessandri 16 tahun lalu
induk
melakukan
70907adcce
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  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()
-           );
+           ));
         }
     }