-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?DateTime return type declaration in AccessTokenMetadata->getExpiresAt() method #3
Comments
@frugan-it I faced the same issue and the fastest option I found was to create a patch to be applied by the Composer Patches module from Cameron Eagans: https://github.com/cweagans/composer-patches. Here is the patch:
|
Thy @JulienRamel, I had already applied the same patch (but using https://github.com/vaimo/composer-patches), but I still opened an issue hoping that the author will solve it as soon as possible.. |
Hi, this patch is not strict. My workaround is zero cast as null, because null is non-expiring token like App Token and zero means same. |
Test please latest dev-master. |
LGTM 👍 |
On some occasions
expires_at = 0
, and this causes an exception:See here https://developers.facebook.com/community/threads/461192667975495/ .
The text was updated successfully, but these errors were encountered: