Skip to content

Commit

Permalink
Minor documentation improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Dec 27, 2024
1 parent b24e0ec commit 15e4ea0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ library is currently limited to single arguments for each of these methods in
order to match exactly one response to each command request. As an alternative,
the methods can simply be invoked multiple times with one argument each.

Additionally, can listen for the following PubSub events to get notifications
about subscribed/unsubscribed channels and patterns:
Additionally, you can listen for the following PubSub events to get
notifications about subscribed/unsubscribed channels and patterns:

```php
$redis->on('subscribe', function (string $channel, int $total) {
Expand Down Expand Up @@ -319,7 +319,7 @@ will not have to wait for an actual underlying connection.

#### __construct()

The `new RedisClient(string $url, ConnectorInterface $connector = null, LoopInterface $loop = null)` constructor can be used to
The `new RedisClient(string $url, ConnectorInterface $connector = null)` constructor can be used to
create a new `RedisClient` instance.

The `$url` can be given in the
Expand Down

0 comments on commit 15e4ea0

Please sign in to comment.