Make sure reAuthenticate method has optional parameter
This commit is contained in:
parent
035e142c98
commit
5e157e4a4e
@ -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();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user