We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c7b7cd commit b8afe45Copy full SHA for b8afe45
1 file changed
src/Dashboards/Redis/Compatibility/Cluster/PredisCluster.php
@@ -285,7 +285,7 @@ private function parseStreamEntries(array $entries): array {
285
$result = [];
286
foreach ($entries as [$id, $fields]) {
287
$assoc = [];
288
- for ($i = 0, $iMax = count($fields); $i < $iMax; $i += 2) {
+ for ($i = 0, $j = count($fields); $i < $j; $i += 2) {
289
$assoc[$fields[$i]] = $fields[$i + 1];
290
}
291
0 commit comments