public function zScore(string $key, string $value) { $score = $this->tryCatch(function () use($key, $value) { return $this->redis->zScore($key, $value); }); return $score === null ? $score : intval($score); }