mirror of
https://github.com/laravel/valet.git
synced 2026-02-04 16:10:08 +01:00
Allow renew() to be called without parameters (#1465)
A reasonable default is set here, consistent with the default set in other places. Fixes #1464 Updates #1461
This commit is contained in:
@@ -503,7 +503,7 @@ public function secure(string $url, ?string $siteConf = null, int $certificateEx
|
||||
/**
|
||||
* Renews all domains with a trusted TLS certificate.
|
||||
*/
|
||||
public function renew($expireIn): void
|
||||
public function renew($expireIn = 368): void
|
||||
{
|
||||
collect($this->securedWithDates())->each(function ($row) use ($expireIn) {
|
||||
$url = $this->domain($row['site']);
|
||||
|
||||
Reference in New Issue
Block a user