File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -77,9 +77,9 @@ class OAuth2Handler
7777 */
7878 public function __construct (
7979 GrantType \GrantTypeInterface $ grantType ,
80- GrantType \GrantTypeInterface $ refreshTokenGrantType = null ,
81- Signer \ClientCredentials \SignerInterface $ clientCredentialsSigner = null ,
82- Signer \AccessToken \SignerInterface $ accessTokenSigner = null
80+ ? GrantType \GrantTypeInterface $ refreshTokenGrantType = null ,
81+ ? Signer \ClientCredentials \SignerInterface $ clientCredentialsSigner = null ,
82+ ? Signer \AccessToken \SignerInterface $ accessTokenSigner = null
8383 ) {
8484 $ this ->grantType = $ grantType ;
8585 $ this ->refreshTokenGrantType = $ refreshTokenGrantType ;
Original file line number Diff line number Diff line change 44
55class RawTokenFactory
66{
7- public function __invoke (array $ data , RawToken $ previousToken = null )
7+ public function __invoke (array $ data , ? RawToken $ previousToken = null )
88 {
99 $ accessToken = null ;
1010 $ refreshToken = null ;
You can’t perform that action at this time.
0 commit comments