Skip to content

Commit

Permalink
Merge pull request #4267 from LibreSign/fix/review-after-previous-commit
Browse files Browse the repository at this point in the history
fix: method name
  • Loading branch information
vitormattos authored Jan 13, 2025
2 parents da01a27 + ebbe0b6 commit 6e3beb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/IdentifyMethod/AbstractIdentifyMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ protected function throwIfInvalidToken(): void {

protected function renewSession(): void {
$this->identifyService->getSessionService()->setIdentifyMethodId($this->getEntity()->getId());
$renewalInterval = (int)$this->identifyService->getAppConfig()->setValueInt(Application::APP_ID, 'renewal_interval', SessionService::NO_RENEWAL_INTERVAL);
$renewalInterval = (int)$this->identifyService->getAppConfig()->getValueInt(Application::APP_ID, 'renewal_interval', SessionService::NO_RENEWAL_INTERVAL);
if ($renewalInterval <= 0) {
return;
}
Expand All @@ -201,7 +201,7 @@ protected function updateIdentifiedAt(): void {
}

protected function throwIfRenewalIntervalExpired(): void {
$renewalInterval = (int)$this->identifyService->getAppConfig()->setValueInt(Application::APP_ID, 'renewal_interval', SessionService::NO_RENEWAL_INTERVAL);
$renewalInterval = (int)$this->identifyService->getAppConfig()->getValueInt(Application::APP_ID, 'renewal_interval', SessionService::NO_RENEWAL_INTERVAL);
if ($renewalInterval <= 0) {
return;
}
Expand Down

0 comments on commit 6e3beb5

Please sign in to comment.