Skip to content

Commit ef616e4

Browse files
committed
Fixed interface name of ClaimExtractorInterface
1 parent 9fd5db9 commit ef616e4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/ClaimExtractor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* @author Steve Rhoades <[email protected]>
1515
* @author Marc Riemer <[email protected]>
1616
*/
17-
class ClaimExtractor implements ClaimExtractorIntercace
17+
class ClaimExtractor implements ClaimExtractorInterface
1818
{
1919
/**
2020
* claimSets

src/ClaimExtractorIntercace.php renamed to src/ClaimExtractorInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace League\OAuth2\Server;
44

5-
interface ClaimExtractorIntercace
5+
interface ClaimExtractorInterface
66
{
77
/**
88
* For given scopes and aggregated claims get all claims that have been configured on the extractor.

src/ResponseTypes/IdTokenResponse.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use League\Event\EmitterAwareTrait;
88
use League\Event\EmitterInterface;
99
use League\OAuth2\Server\ClaimExtractor;
10-
use League\OAuth2\Server\ClaimExtractorIntercace;
10+
use League\OAuth2\Server\ClaimExtractorInterface;
1111
use League\OAuth2\Server\Entities\AccessTokenEntityInterface;
1212
use League\OAuth2\Server\Entities\ClaimSetInterface;
1313
use League\OAuth2\Server\Entities\ScopeEntityInterface;
@@ -51,17 +51,17 @@ class IdTokenResponse extends BearerTokenResponse
5151
protected $emitter;
5252

5353
/**
54-
* ClaimExtractorIntercace
54+
* ClaimExtractorInterface
5555
*
56-
* @var ClaimExtractorIntercace
56+
* @var ClaimExtractorInterface
5757
*/
5858
protected $extractor;
5959

6060
public function __construct(
6161
IdTokenRepositoryInterface $builder,
6262
ClaimSetRepositoryInterface $claimRepository,
6363
EmitterInterface $emitter,
64-
?ClaimExtractorIntercace $extractor = null
64+
?ClaimExtractorInterface $extractor = null
6565
) {
6666
if (!$extractor) {
6767
$this->extractor = new ClaimExtractor();

0 commit comments

Comments
 (0)