Skip to content

Commit

Permalink
Allow renew() to be called without parameters (#1465)
Browse files Browse the repository at this point in the history
A reasonable default is set here, consistent with the default set in other places.

Fixes #1464
Updates #1461
  • Loading branch information
drbyte authored Jan 1, 2024
1 parent 02d6075 commit e3e5bea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/Valet/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit e3e5bea

Please sign in to comment.