Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit 015f6f4

Browse files
committed
Removed references
1 parent cc5e74e commit 015f6f4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Statistics/Collectors/RedisCollector.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public function getStatistics(): PromiseInterface
220220
return $this->channelManager
221221
->getPublishClient()
222222
->smembers(static::$redisSetName)
223-
->then(function ($members) use (&$statistics) {
223+
->then(function ($members) {
224224
$appsWithStatistics = [];
225225

226226
foreach ($members as $appId) {
@@ -249,9 +249,7 @@ public function getAppStatistics($appId): PromiseInterface
249249
return $this->channelManager
250250
->getPublishClient()
251251
->hgetall($this->channelManager->getRedisKey($appId, null, ['stats']))
252-
->then(function ($list) use ($appId, &$appStatistics) {
253-
return $this->listToStatisticInstance(
254-
$appId, $list
252+
->then(function ($list) use ($appId) {
255253
);
256254
});
257255
}

0 commit comments

Comments
 (0)