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

Commit 0a7864a

Browse files
committed
Appears to receive an array not a class so update the type cast
1 parent b4c7f34 commit 0a7864a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PubSub/Drivers/RedisClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ public function boot(LoopInterface $loop, $factoryClass = null): ReplicationInte
9494
*
9595
* @param string $appId
9696
* @param string $channel
97-
* @param stdClass $payload
97+
* @param array $payload
9898
* @return bool
9999
*/
100-
public function publish($appId, string $channel, stdClass $payload): bool
100+
public function publish($appId, string $channel, array $payload): bool
101101
{
102102
$payload->appId = $appId;
103103
$payload->serverId = $this->getServerId();

0 commit comments

Comments
 (0)