Fix snippet for replication in README.

[ci skip]
This commit is contained in:
Daniele Alessandri
2016-06-17 13:58:08 +02:00
parent d38cf2788b
commit 8de97ffe1a
+1 -1
View File
@@ -223,7 +223,7 @@ to `master`) and one or more servers acting as slaves:
```php
$parameters = ['tcp://10.0.0.1?alias=master', 'tcp://10.0.0.2', 'tcp://10.0.0.3'];
$options = ['replication' => true];
$options = ['replication' => 'predis'];
$client = new Predis\Client($parameters, $options);
```