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 d00794d commit 592f240Copy full SHA for 592f240
1 file changed
README.md
@@ -157,7 +157,7 @@ $client->on('error', function (Exception $e) {
157
$client->on('message', function ($channel, $payload) {
158
// pubsub message received on given $channel
159
});
160
-$client->on('pmessage', function ($pattern, $payload) {
+$client->on('pmessage', function ($pattern, $channel, $payload) {
161
// pubsub message received matching given $pattern
162
163
$client->on('subscribe', function ($channel, $total) {
0 commit comments