From c781e91c2e8bbc2cfaf739d6eea7673328f50549 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Sat, 22 May 2010 16:05:32 +0200 Subject: [PATCH] Fix typos. --- examples/PubSubContext.php | 2 +- lib/Predis.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/PubSubContext.php b/examples/PubSubContext.php index 41a598ee..eee6d7e1 100644 --- a/examples/PubSubContext.php +++ b/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 { diff --git a/lib/Predis.php b/lib/Predis.php index 45607306..ba57ba2a 100644 --- a/lib/Predis.php +++ b/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'" ); }