@@ -242,8 +242,8 @@ library is currently limited to single arguments for each of these methods in
242
242
order to match exactly one response to each command request. As an alternative,
243
243
the methods can simply be invoked multiple times with one argument each.
244
244
245
- Additionally, can listen for the following PubSub events to get notifications
246
- about subscribed/unsubscribed channels and patterns:
245
+ Additionally, you can listen for the following PubSub events to get
246
+ notifications about subscribed/unsubscribed channels and patterns:
247
247
248
248
``` php
249
249
$redis->on('subscribe', function (string $channel, int $total) {
@@ -261,7 +261,7 @@ $redis->on('punsubscribe', function (string $pattern, int $total) {
261
261
```
262
262
263
263
When the underlying connection is lost, the ` unsubscribe ` and ` punsubscribe ` events
264
- will be invoked automatically. This gives you control over re-subscribing to the
264
+ will be invoked automatically. This gives you control over re-subscribing to any
265
265
channels and patterns as appropriate.
266
266
267
267
## API
@@ -319,7 +319,7 @@ will not have to wait for an actual underlying connection.
319
319
320
320
#### __ construct()
321
321
322
- The ` new RedisClient(string $url, ConnectorInterface $connector = null, LoopInterface $loop = null ) ` constructor can be used to
322
+ The ` new RedisClient(string $url, ConnectorInterface $connector = null) ` constructor can be used to
323
323
create a new ` RedisClient ` instance.
324
324
325
325
The ` $url ` can be given in the
0 commit comments