From a8cf74d87aff768f7db26652fe28fb5fad79e57b Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 2 Sep 2021 00:14:28 +0200 Subject: [PATCH] Drop loop from readme example --- README.md | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1d28bbd..5806a2f 100644 --- a/README.md +++ b/README.md @@ -23,14 +23,10 @@ composer require wyrihaximus/react-cache-redis createClient()->then(function (Client $client) { +(new Factory())->createClient()->then(function (Client $client) { $cache = new Redis($client, 'react:cache:your:key:prefix:'); }); ``` @@ -39,7 +35,7 @@ $factory->createClient()->then(function (Client $client) { The MIT License (MIT) -Copyright (c) 2018 Cees-Jan Kiewiet +Copyright (c) 2021 Cees-Jan Kiewiet Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal