Skip to content

Commit e7fa9cc

Browse files
authored
Fix #39: IdentityWithTokenRepositoryInterface does not extend IdentityRepositoryInterface
1 parent 49d8774 commit e7fa9cc

3 files changed

Lines changed: 5 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
11
# Yii Auth Change Log
22

33

4-
## 2.0.1 under development
4+
## 3.0.0 under development
55

6-
- no changes in this release.
6+
- Chg #39: `IdentityWithTokenRepositoryInterface` does not extend `IdentityRepositoryInterface` (roxblnfk)
77

88
## 2.0.0 January 13, 2021
99

10-
1110
- Enh #36: Extract `IdentityRepositoryInterface::findIdentityByToken()` into `IdentityWithTokenRepositoryInterface`, make token type configurable (armpogart, roxblnfk)
1211

13-
14-
1512
## 1.0.2 September 1, 2020
1613

1714
- Use stable version of "yiisoft/http" (samdark)

src/IdentityRepositoryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace Yiisoft\Auth;
66

77
/**
8-
* Identity repository is identity storage that is able to retrieve identity given and ID.
8+
* Identity repository is identity storage that is able to retrieve identity given an ID.
99
*/
1010
interface IdentityRepositoryInterface
1111
{

src/IdentityWithTokenRepositoryInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
namespace Yiisoft\Auth;
66

77
/**
8-
* Identity repository is identity storage that is able to retrieve identity given and ID or a token.
8+
* Identity repository is identity storage that is able to retrieve identity given a token.
99
*/
10-
interface IdentityWithTokenRepositoryInterface extends IdentityRepositoryInterface
10+
interface IdentityWithTokenRepositoryInterface
1111
{
1212
/**
1313
* Finds an identity by the given token.

0 commit comments

Comments
 (0)