Make sure reAuthenticate method has optional parameter
This commit is contained in:
parent
057216a21c
commit
61fcffdcbe
@ -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