Make sure reAuthenticate method has optional parameter

This commit is contained in:
Timothy Warren 2020-05-18 13:47:41 -04:00
parent 035e142c98
commit 5e157e4a4e

View File

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