Bläddra i källkod

Update README.

[ci skip]
Daniele Alessandri 10 år sedan
förälder
incheckning
872d953b50
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -158,7 +158,7 @@ $parameters = ['tcp://10.0.0.1?alias=master', 'tcp://10.0.0.2?alias=slave-01'];
 $options    = ['replication' => function () {
 $options    = ['replication' => function () {
     $strategy = new Predis\Replication\ReplicationStrategy();
     $strategy = new Predis\Replication\ReplicationStrategy();
 
 
-    // This exact script won't trigger a switch from slave to the master node.
+    // This exact script won't trigger a switch from a slave to the master node.
     $strategy->setScriptReadOnly($READONLY_LUA_SCRIPT);
     $strategy->setScriptReadOnly($READONLY_LUA_SCRIPT);
 
 
     return new Predis\Connection\Aggregate\MasterSlaveReplication($strategy);
     return new Predis\Connection\Aggregate\MasterSlaveReplication($strategy);
@@ -260,7 +260,7 @@ $client->getProfile()->defineCommand('newcmd', 'BrandNewRedisCommand');
 $response = $client->newcmd();
 $response = $client->newcmd();
 ```
 ```
 
 
-hTere is also a method to allow sending raw commands without filtering their arguments or parsing
+There is also a method to allow sending raw commands without filtering their arguments or parsing
 responses. Users must provide the arguments list as an array, following the command signatures as
 responses. Users must provide the arguments list as an array, following the command signatures as
 defined by the [Redis documentation for commands](http://redis.io/commands):
 defined by the [Redis documentation for commands](http://redis.io/commands):