foreach ($this->redis->zRange($allKey, -1, -1, TRUE) as $lastElem => $lastScore) {
$maxScore = $lastScore;
}
- return array($allKey, $dataKey, $selKey, $maxScore);
+ return [$allKey, $dataKey, $selKey, $maxScore];
+ }
+
+ /**
+ * @inheritDoc
+ */
+ public function cleanup() {
+ // Redis already handles cleaning up stale keys.
+ return;
}
}