Ratchet icon indicating copy to clipboard operation
Ratchet copied to clipboard

Mistake in the push integration documentation

Open juliendsv opened this issue 14 years ago • 2 comments

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;
}

juliendsv avatar Oct 18 '12 15:10 juliendsv

Too bad we cannot execute documentation (or can we?).

Thanks for the report!

igorw avatar Oct 18 '12 15:10 igorw

Corrected. Thank you @juliendsv!

cboden avatar Nov 18 '12 14:11 cboden