Remove unused $lifetime variable

This commit is contained in:
Clark Winkelmann 2018-03-07 01:30:23 +01:00 committed by GitHub
parent e30de50f99
commit 8f9d9061b4

View File

@ -33,8 +33,6 @@ class Rememberer
public function remember(ResponseInterface $response, AccessToken $token) public function remember(ResponseInterface $response, AccessToken $token)
{ {
$lifetime = null;
$token->lifetime = 5 * 365 * 24 * 60 * 60; // 5 years $token->lifetime = 5 * 365 * 24 * 60 * 60; // 5 years
$token->save(); $token->save();