Fix README.

[ci skip]
This commit is contained in:
Daniele Alessandri
2016-05-22 15:32:08 +02:00
parent d31a4c71ba
commit 52d5b23db7
+1 -1
View File
@@ -94,7 +94,7 @@ the parameters must use the `unix` scheme and specify a path for the socket file
```php
$client = new Predis\Client(['scheme' => 'unix', 'path' => '/path/to/redis.sock']);
$client = new Predis\Client('unix:/path/to/redis.sock');
$client = new Predis\Client('unix:///path/to/redis.sock');
```
The connection schemes [`redis`](http://www.iana.org/assignments/uri-schemes/prov/redis) (alias of