Skip to content

Commit b974384

Browse files
committed
config
1 parent 7f908a7 commit b974384

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/AuthorizationServerFactory.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ public function __construct(ContainerInterface $container)
3333
$this->container = $container;
3434
$this->config = $container->get(ConfigInterface::class);
3535

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'));
3939
}
4040

4141
private function dateToInterval(DateTimeInterface $date = null): DateInterval

0 commit comments

Comments
 (0)