Daniele Alessandri 15 роки тому
батько
коміт
c781e91c2e
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      examples/PubSubContext.php
  2. 1 1
      lib/Predis.php

+ 1 - 1
examples/PubSubContext.php

@@ -30,7 +30,7 @@ foreach ($pubsub as $message) {
                     $pubsub->unsubscribe();
                 }
                 else {
-                    echo "Received an unregognized command: {$message->payload}.\n";
+                    echo "Received an unrecognized command: {$message->payload}.\n";
                 }
             }
             else {

+ 1 - 1
lib/Predis.php

@@ -161,7 +161,7 @@ class Client {
         $connection = $this->_connection->getConnectionById($connectionAlias);
         if ($connection === null) {
             throw new \InvalidArgumentException(
-                "Invalid connection alias: '$connectionAlias'."
+                "Invalid connection alias: '$connectionAlias'"
             );
         }