edamov / pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key)
MIT License
378 stars 121 forks source link

Remove unnecessary assignation #28

Closed ahfeel closed 6 years ago

ahfeel commented 6 years ago

These unnecessary assignation in the example may mislead people to think that Payload is immutable and returns a copy instead of modifying itself.