diff --git a/src/Dy/Redis/PredisClient.php b/src/Dy/Redis/PredisClient.php index 0b8d3c5..fbdd5f3 100755 --- a/src/Dy/Redis/PredisClient.php +++ b/src/Dy/Redis/PredisClient.php @@ -57,7 +57,7 @@ public function quit() */ public function exists($key) { - return boolval($this->redis->exists($key)); + return (bool) $this->redis->exists($key); } /** @@ -201,7 +201,7 @@ public function scard($key) */ public function sismember($key, $member) { - return boolval($this->redis->sismember($key, $member)); + return (bool) $this->redis->sismember($key, $member); } /**