Skip to content

Commit

Permalink
Use new class syntax (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
samdark committed Apr 13, 2021
1 parent 8b51f56 commit 3ff0226
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions CHANGELOG.md
Expand Up @@ -3,8 +3,7 @@

## 1.0.2 under development

- no changes in this release.

- Chg: Adjust config for yiisoft/factory changes (samdark)

## 1.0.1 March 23, 2021

Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -64,7 +64,7 @@ composer require yiisoft/auth-jwt --prefer-dist

return [
KeyFactoryInterface::class => [
'__class' => FromSecret::class,
'class' => FromSecret::class,
'__construct()' => [
$params['yiisoft/auth-jwt']['key']['secret']
],
Expand Down
2 changes: 1 addition & 1 deletion config/common.php
Expand Up @@ -17,7 +17,7 @@
*/
return [
KeyFactoryInterface::class => [
'__class' => FromSecret::class,
'class' => FromSecret::class,
'__construct()' => [$params['yiisoft/auth-jwt']['key']['secret']],
],
AlgorithmManager::class => static function (Injector $injector) use ($params) {
Expand Down

0 comments on commit 3ff0226

Please sign in to comment.