Pusher Beams Docs | PHP Server SDKpage - Generate Token
Closed this issue · 2 comments
aj-norman commented
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
aj-norman commented
Also noticed the GenerateToken example has the incorrect syntax, should be ->
instead of .
benjamin-tang-pusher commented
Corrected, thanks for raising.