Fix typos.

This commit is contained in:
Daniele Alessandri
2010-05-22 16:05:32 +02:00
parent d04a95395d
commit c781e91c2e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ foreach ($pubsub as $message) {
$pubsub->unsubscribe(); $pubsub->unsubscribe();
} }
else { else {
echo "Received an unregognized command: {$message->payload}.\n"; echo "Received an unrecognized command: {$message->payload}.\n";
} }
} }
else { else {
+1 -1
View File
@@ -161,7 +161,7 @@ class Client {
$connection = $this->_connection->getConnectionById($connectionAlias); $connection = $this->_connection->getConnectionById($connectionAlias);
if ($connection === null) { if ($connection === null) {
throw new \InvalidArgumentException( throw new \InvalidArgumentException(
"Invalid connection alias: '$connectionAlias'." "Invalid connection alias: '$connectionAlias'"
); );
} }