Skip to content

Commit cc0c50a

Browse files
authored
Merge pull request clue#162 from clue-labs/docs
Minor documentation improvements
2 parents b24e0ec + c3a869c commit cc0c50a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ library is currently limited to single arguments for each of these methods in
242242
order to match exactly one response to each command request. As an alternative,
243243
the methods can simply be invoked multiple times with one argument each.
244244

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:
247247

248248
```php
249249
$redis->on('subscribe', function (string $channel, int $total) {
@@ -261,7 +261,7 @@ $redis->on('punsubscribe', function (string $pattern, int $total) {
261261
```
262262

263263
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
265265
channels and patterns as appropriate.
266266

267267
## API
@@ -319,7 +319,7 @@ will not have to wait for an actual underlying connection.
319319

320320
#### __construct()
321321

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
323323
create a new `RedisClient` instance.
324324

325325
The `$url` can be given in the

0 commit comments

Comments
 (0)