Make sure reAuthenticate method has optional parameter

This commit is contained in:
Timothy Warren 2020-05-18 13:47:41 -04:00
parent 057216a21c
commit 61fcffdcbe

View File

@ -96,7 +96,7 @@ final class Auth {
* @return boolean
* @throws Throwable|InvalidArgumentException
*/
public function reAuthenticate(?string $refreshToken): bool
public function reAuthenticate(?string $refreshToken = NULL): bool
{
$refreshToken ??= $this->getRefreshToken();