Closed aj-norman closed 11 months ago
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.
generateToken
string[]
string
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.
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 astring[]
not astring
literal.https://github.com/pusher/push-notifications-php/blob/master/src/PushNotifications.php#L187 - lines 202-204 for reference