Skip to content

Commit 06e8926

Browse files
chore(deps): update dependency kelvinmo/simplejwt to v1 (#596)
Co-authored-by: Brent Shaffer <betterbrent@google.com>
1 parent 257e089 commit 06e8926

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"phpspec/prophecy-phpunit": "^2.1",
2525
"sebastian/comparator": ">=1.2.3",
2626
"phpseclib/phpseclib": "^3.0.35",
27-
"kelvinmo/simplejwt": "0.7.1",
27+
"kelvinmo/simplejwt": "^1.1.0",
2828
"webmozart/assert": "^1.11||^2.0",
2929
"symfony/process": "^6.0||^7.0",
3030
"symfony/filesystem": "^6.3||^7.3"

tests/AccessTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ protected function callSimpleJwtDecode(array $args = [])
592592
{
593593
if (isset($this->mocks['decode'])) {
594594
$claims = call_user_func_array($this->mocks['decode'], $args);
595-
return new SimpleJWT(null, (array) $claims);
595+
return new SimpleJWT([], (array) $claims);
596596
}
597597

598598
return parent::callSimpleJwtDecode($args);

0 commit comments

Comments
 (0)