Skip to content

Commit bd4422b

Browse files
committed
upd readme
1 parent f35333e commit bd4422b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Create a new instance of RedisLock.
9999

100100
##### Method Pameters
101101

102-
1. \Redis **$Redis** - Instanse of [Redis](http://redis.io/)
102+
1. RedisClient **$Redis** - Instanse of [RedisClient](https://github.com/cheprasov/php-redis-client)
103103
2. string **$key** - name of key in Redis storage. Only locks with the same name will compete with each other for lock.
104104
3. int **$flags**, default = 0
105105
* `RedisLock::FLAG_CATCH_EXCEPTIONS` - use this flag, if you don't want catch exceptions by yourself. Do not use this flag, if you want have a full control on situation with locks. Default behavior without this flag - all Exceptions will be thrown.

0 commit comments

Comments
 (0)