File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -94,15 +94,16 @@ class AuthorizationServer implements EmitterAwareInterface
9494 * @param CryptKey|string $privateKey
9595 * @param string|Key $encryptionKey
9696 * @param null|ResponseTypeInterface $responseType
97+ * @param null|ClaimRepositoryInterface $claimRepository
9798 */
9899 public function __construct (
99100 ClientRepositoryInterface $ clientRepository ,
100101 AccessTokenRepositoryInterface $ accessTokenRepository ,
101102 ScopeRepositoryInterface $ scopeRepository ,
102- ClaimRepositoryInterface $ claimRepository ,
103103 $ privateKey ,
104104 $ encryptionKey ,
105- ResponseTypeInterface $ responseType = null
105+ ResponseTypeInterface $ responseType = null ,
106+ ClaimRepositoryInterface $ claimRepository = null
106107 ) {
107108 $ this ->clientRepository = $ clientRepository ;
108109 $ this ->accessTokenRepository = $ accessTokenRepository ;
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public function setScopeRepository(ScopeRepositoryInterface $scopeRepository)
127127 /**
128128 * @param ClaimRepositoryInterface $claimRepository
129129 */
130- public function setClaimRepository (ClaimRepositoryInterface $ claimRepository )
130+ public function setClaimRepository (? ClaimRepositoryInterface $ claimRepository )
131131 {
132132 $ this ->claimRepository = $ claimRepository ;
133133 }
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ public function setScopeRepository(ScopeRepositoryInterface $scopeRepository);
127127 *
128128 * @param ClaimRepositoryInterface $claimRepository
129129 */
130- public function setClaimRepository (ClaimRepositoryInterface $ claimRepository );
130+ public function setClaimRepository (? ClaimRepositoryInterface $ claimRepository );
131131
132132 /**
133133 * Set the default scope.
You can’t perform that action at this time.
0 commit comments