From 5e157e4a4e642841aa4945ed0bbce9253128313f Mon Sep 17 00:00:00 2001 From: Timothy 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();