8000 Merge pull request #112 from Nyholm/patch-1 · SimonFrings/reactphp-redis@b2d8913 · GitHub
[go: up one dir, main page]

Skip to content

Commit b2d8913

Browse files
authored
Merge pull request clue#112 from Nyholm/patch-1
Use full namespace so the example is runnable
2 parents dc39f79 + fabbe7b commit b2d8913

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
@@ -60,7 +60,7 @@ local Redis server and send some requests:
6060

6161
```php
6262
$loop = React\EventLoop\Factory::create();
63-
$factory = new Factory($loop);
63+
$factory = new Clue\React\Redis\Factory($loop);
6464

6565
$client = $factory->createLazyClient('localhost');
6666
$client->set('greeting', 'Hello world');
@@ -92,7 +92,7 @@ It also registers everything with the main [`EventLoop`](https://github.com/reac
9292

9393
```php
9494
$loop = \React\EventLoop\Factory::create();
95-
$factory = new Factory($loop);
95+
$factory = new \Clue\React\Redis\Factory($loop);
9696
```
9797

9898
If you need custom DNS, proxy or TLS settings, you can explicitly pass a

0 commit comments

Comments
 (0)
0