Closed provokateurin closed 1 year ago
https://github.com/UP-NextPush/server-app/blob/ea2264cc05443f295a662030ad13c4a40c744eb9/lib/Controller/UnifiedPushProviderController.php#L101-L106
Why is $keepalive a string? It can just be an integer and the framework will parse it already.
$keepalive
Good catch. Feel free to open a PR :) (Or I'll do it later)
Alright, I just wasn't sure if there was a good reason why it is this way.
I've just blindly followed the requests with variables :)
https://github.com/UP-NextPush/server-app/blob/ea2264cc05443f295a662030ad13c4a40c744eb9/lib/Controller/UnifiedPushProviderController.php#L101-L106
Why is
$keepalive
a string? It can just be an integer and the framework will parse it already.