From a6523cdd3f18aeabb30a42d1448ea9fdfeacb437 Mon Sep 17 00:00:00 2001 From: Shaverdova Elena Date: Tue, 6 Aug 2019 15:28:42 +0200 Subject: [PATCH] Since Redis.exists may return both bool and int, it's safer to provide both --- src/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redis.php b/src/Redis.php index b60dc8e..2a8578c 100644 --- a/src/Redis.php +++ b/src/Redis.php @@ -777,7 +777,7 @@ public function punsubscribe($patterns = null) * * @param string|string[] $key * - * @return bool The number of keys tested that do exist + * @return int|bool The number of keys tested that do exist * * @link https://redis.io/commands/exists * @link https://github.com/phpredis/phpredis#exists