From 61fcffdcbe42b5e20d69782b770b73e80168165c Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Mon, 18 May 2020 13:47:41 -0400 Subject: [PATCH] Make sure reAuthenticate method has optional parameter --- src/AnimeClient/API/Kitsu/Auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AnimeClient/API/Kitsu/Auth.php b/src/AnimeClient/API/Kitsu/Auth.php index ac17d05a..676fc141 100644 --- a/src/AnimeClient/API/Kitsu/Auth.php +++ b/src/AnimeClient/API/Kitsu/Auth.php @@ -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();