diff --git a/src/Licensing/Outpost.php b/src/Licensing/Outpost.php index 32ffba1daa..4385a2c078 100644 --- a/src/Licensing/Outpost.php +++ b/src/Licensing/Outpost.php @@ -199,7 +199,7 @@ private function cacheAndReturnValidationResponse($e) private function cacheAndReturnRateLimitResponse($e) { - $seconds = $e->getResponse()->getHeader('Retry-After')[0]; + $seconds = (int) $e->getResponse()->getHeader('Retry-After')[0]; return $this->cacheResponse(now()->addSeconds($seconds), ['error' => 429]); }