From 74f2b171e5e8c378a52a0929b70a34f8b80117a6 Mon Sep 17 00:00:00 2001 From: Jose Ochoa Date: Mon, 16 Dec 2024 10:31:42 -0600 Subject: [PATCH 1/2] fix: Add correct type for $jwt, should be JWT --- src/AccessToken/Verify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AccessToken/Verify.php b/src/AccessToken/Verify.php index 714b5d12d..4f52703ca 100644 --- a/src/AccessToken/Verify.php +++ b/src/AccessToken/Verify.php @@ -60,7 +60,7 @@ class Verify /** * @var \Firebase\JWT\JWT */ - public $jwt; + public JWT $jwt; /** * Instantiates the class, but does not initiate the login flow, leaving it @@ -69,7 +69,7 @@ class Verify public function __construct( ?ClientInterface $http = null, ?CacheItemPoolInterface $cache = null, - ?string $jwt = null + ?JWT $jwt = null ) { if (null === $http) { $http = new Client(); From a8a79098661c0c92cc164e2194b23c115ab31d45 Mon Sep 17 00:00:00 2001 From: Brent Shaffer Date: Mon, 16 Dec 2024 14:21:23 -0800 Subject: [PATCH 2/2] Update src/AccessToken/Verify.php --- src/AccessToken/Verify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AccessToken/Verify.php b/src/AccessToken/Verify.php index 4f52703ca..5529450e5 100644 --- a/src/AccessToken/Verify.php +++ b/src/AccessToken/Verify.php @@ -60,7 +60,7 @@ class Verify /** * @var \Firebase\JWT\JWT */ - public JWT $jwt; + public $jwt; /** * Instantiates the class, but does not initiate the login flow, leaving it