This change implements a __sleep() method but as a result, anything other than the accessToken is not serialised. This means data such as the token lifetime or any extra params relating to the token are no longer persisted.
The PR it belongs to suggests it was PHP 8 related but I'm not sure why. What was the reasoning for this change?
This change implements a
__sleep()
method but as a result, anything other than theaccessToken
is not serialised. This means data such as the token lifetime or any extra params relating to the token are no longer persisted.The PR it belongs to suggests it was PHP 8 related but I'm not sure why. What was the reasoning for this change?