From 4ab1f940d8da38f78a9cd92b27cabc5230e9bac2 Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Mon, 14 Oct 2019 22:26:33 +0200 Subject: Fix example --- README.markdown | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'README.markdown') diff --git a/README.markdown b/README.markdown index 38a65153..bca54da1 100644 --- a/README.markdown +++ b/README.markdown @@ -2835,13 +2835,11 @@ $redis->zPopMax(string $key, int $count): array ##### *Example* ~~~php -/* Wait up to 5 seconds to pop the *lowest* scoring member from sets `zs1` and `zs2`. */ -$redis->bzPopMin(['zs1', 'zs2'], 5); -$redis->bzPopMin('zs1', 'zs2', 5); +/* Pop the *lowest* scoring member from set `zs1`. */ +$redis->zPopMin('zs1', 5); -/* Wait up to 5 seconds to pop the *highest* scoring member from sets `zs1` and `zs2` */ -$redis->bzPopMax(['zs1', 'zs2'], 5); -$redis->bzPopMax('zs1', 'zs2', 5); +/* Pop the *highest* scoring member from set `zs1`. */ +$redis->zPopMax('zs1', 5); ~~~ ### zRange -- cgit v1.2.3