Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed Aug 20, 2023
1 parent 5fb48b3 commit 9f86d75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ composer require amphp/redis

require __DIR__ . '/vendor/autoload.php';

use Amp\Redis\RedisClient;use function Amp\Redis\createRedisClient;
use function Amp\Redis\createRedisClient;

$redis = new RedisClient(createRedisClient('redis://'));
$redis = createRedisClient('redis://');

$redis->set('foo', '21');
$result = $redis->increment('foo', 21);
Expand Down

0 comments on commit 9f86d75

Please sign in to comment.