Browse Source

Fix typos.

Daniele Alessandri 15 năm trước cách đây
mục cha
commit
c781e91c2e
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  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'"
             );
         }