File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,9 +33,9 @@ public function __construct(ContainerInterface $container)
33
33
$ this ->container = $ container ;
34
34
$ this ->config = $ container ->get (ConfigInterface::class);
35
35
36
- $ this ->tokensExpireIn = $ this ->dateToInterval ($ this ->config ('oauth.expire_in.token ' ));
37
- $ this ->refreshTokensExpireIn = $ this ->dateToInterval ($ this ->config ('oauth.expire_in.refresh_token ' ));
38
- $ this ->personalAccessTokensExpireIn = $ this ->dateToInterval ($ this ->config ('oauth.expire_in.personal_token ' ));
36
+ $ this ->tokensExpireIn = $ this ->dateToInterval ($ this ->config -> get ('oauth.expire_in.token ' ));
37
+ $ this ->refreshTokensExpireIn = $ this ->dateToInterval ($ this ->config -> get ('oauth.expire_in.refresh_token ' ));
38
+ $ this ->personalAccessTokensExpireIn = $ this ->dateToInterval ($ this ->config -> get ('oauth.expire_in.personal_token ' ));
39
39
}
40
40
41
41
private function dateToInterval (DateTimeInterface $ date = null ): DateInterval
You can’t perform that action at this time.
0 commit comments