We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e4e3fb commit 3d91cebCopy full SHA for 3d91ceb
src/Request.php
@@ -130,7 +130,7 @@ public function authenticate(bool $force = false): static
130
$this->authToken = $json->access_token;
131
132
if ($this->cacheKey) {
133
- Cache::put($this->cacheKey, $this->authToken, now()->addSeconds($json->expires_in));
+ Cache::put($this->cacheKey, $this->authToken, now()->addSeconds((int) $json->expires_in));
134
}
135
136
return $this;
0 commit comments