Skip to content

Commit 952c1f0

Browse files
committed
Upd readme
1 parent 1d97f30 commit 952c1f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RedisClient is a fast, fully-functional and user-friendly client for Redis, opti
2525
### Config
2626

2727
```php
28-
$Redis = ClientFactory::create([
28+
$config = [
2929
// Optional. Default = '127.0.0.1:6379'. You can use 'unix:///tmp/redis.sock'
3030
'server' => '127.0.0.1:6379',
3131

@@ -67,7 +67,7 @@ $Redis = ClientFactory::create([
6767
// Optional. Defatult = 0.25 sec. It is timeout before next attempt on TRYAGAIN error.
6868
'timeout_on_error_tryagain' => 0.25, // sec
6969
]
70-
]);
70+
];
7171
```
7272

7373
### Create a new instance of RedisClient

0 commit comments

Comments
 (0)