From fabbe7bee5d9bf3700f43603dadcc5ab0d3284bd Mon Sep 17 00:00:00 2001 From: Tobias Nyholm Date: Sat, 12 Jun 2021 11:35:02 +0200 Subject: [PATCH] Use full namespace so the example is runnable --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ed8d64e..10bb815 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ local Redis server and send some requests: ```php $loop = React\EventLoop\Factory::create(); -$factory = new Factory($loop); +$factory = new Clue\React\Redis\Factory($loop); $client = $factory->createLazyClient('localhost'); $client->set('greeting', 'Hello world'); @@ -92,7 +92,7 @@ It also registers everything with the main [`EventLoop`](https://github.com/reac ```php $loop = \React\EventLoop\Factory::create(); -$factory = new Factory($loop); +$factory = new \Clue\React\Redis\Factory($loop); ``` If you need custom DNS, proxy or TLS settings, you can explicitly pass a