Ratchet
Ratchet copied to clipboard
Mistake in the push integration documentation
First great work I love this project! I noticed a mistake in the push example (http://socketo.me/docs/push); in the Pusher class it think you need to replace :
if (!array_key_exists($entryData['cat'])) {
return;
}
by
if (!array_key_exists($entryData['cat'], $this->subscribedTopics)) {
return;
}
Corrected. Thank you @juliendsv!