We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2219af1 commit ac17d00Copy full SHA for ac17d00
1 file changed
README.md
@@ -14,7 +14,7 @@ Once [installed](#installation), you can incorporate Redlock in your projects by
14
15
```php
16
/* Instantiate prerequisites */
17
-$factory = new \Clue\React\Redis\Factory($loop);
+$factory = new \Clue\React\Redis\Factory(\React\EventLoop\Loop::get());
18
$client = $factory->createLazyClient('127.0.0.1');
19
20
/* Instantiate our lock custodian */
0 commit comments