Skip to content
Permalink
Browse files

Merge 336b93d into 552c940

  • Loading branch information...
runphp committed Jun 4, 2019
2 parents 552c940 + 336b93d commit fce8a6f64e51197c9563be92d59006f30c491116
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Token/AccessToken.php
@@ -80,7 +80,7 @@ public function __construct(array $options = [])
throw new \InvalidArgumentException('expires_in value must be an integer');
}
$this->expires = $options['expires_in'] != 0 ? time() + $options['expires_in'] : 0;
$this->expires = $options['expires_in'] != 0 ? time() + $options['expires_in'] : time();
} elseif (!empty($options['expires'])) {
// Some providers supply the seconds until expiration rather than
// the exact timestamp. Take a best guess at which we received.

0 comments on commit fce8a6f

Please sign in to comment.
You can’t perform that action at this time.