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
1 changed files with 1 additions and 1 deletions

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();