OAuth 2.0 Client for Guzzle 4, 5, 6 and 7 with PHP 5.4 - PHP 8.0 - no more dependency hell!
140
stars
31
forks
source link
Return type of the restoreToken function, in the TokenPersistenceInterface can't be null #56
Closed
GabGr25 closed 6 months ago
We can see here, the restoreToken function must return sometimes null.
But in the TokenPersistenceInterface, we can see the return type of the function restoreToken is just TokenInterface.
An example, in this implementation of the TokenPersistenceInterface, where the return type is null.
I create this issues because i have a Psalm error.