Removed references

This commit is contained in:
Alex Renoki 2020-09-11 13:27:06 +03:00
parent cc5e74e7e2
commit 015f6f4abb
1 changed files with 2 additions and 4 deletions

View File

@ -220,7 +220,7 @@ class RedisCollector extends MemoryCollector
return $this->channelManager
->getPublishClient()
->smembers(static::$redisSetName)
->then(function ($members) use (&$statistics) {
->then(function ($members) {
$appsWithStatistics = [];
foreach ($members as $appId) {
@ -249,9 +249,7 @@ class RedisCollector extends MemoryCollector
return $this->channelManager
->getPublishClient()
->hgetall($this->channelManager->getRedisKey($appId, null, ['stats']))
->then(function ($list) use ($appId, &$appStatistics) {
return $this->listToStatisticInstance(
$appId, $list
->then(function ($list) use ($appId) {
);
});
}