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

Commit de6b1b2

Browse files
committed
Reverted more __call() to direct calls
1 parent 3555b47 commit de6b1b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/PubSub/Drivers/RedisClient.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,13 +276,14 @@ public function channelMembers($appId, string $channel): PromiseInterface
276276
*/
277277
public function channelMemberCounts($appId, array $channelNames): PromiseInterface
278278
{
279-
$this->publishClient->__call('multi', []);
279+
$this->publishClient->multi();
280280

281281
foreach ($channelNames as $channel) {
282282
$this->publishClient->hlen($this->getTopicName($appId, $channel));
283283
}
284284

285-
return $this->publishClient->__call('exec', [])
285+
return $this->publishClient
286+
->exec()
286287
->then(function ($data) use ($channelNames) {
287288
return array_combine($channelNames, $data);
288289
});

0 commit comments

Comments
 (0)