pusher/docs

Pusher Beams Docs | PHP Server SDKpage - Generate Token

Closed this issue · 2 comments

Hello there, I spotted an issue on https://pusher.com/docs/beams/reference/server-sdk-php/ while generating a token. The generateToken method call returns a string[] not a string literal.

https://github.com/pusher/push-notifications-php/blob/master/src/PushNotifications.php#L187 - lines 202-204 for reference

Also noticed the GenerateToken example has the incorrect syntax, should be -> instead of .

Corrected, thanks for raising.