1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-06 00:40:06 +01:00

Drop "superfluous" phpdoc tags (per Pint)

This commit is contained in:
Matt Stauffer
2023-02-18 23:20:03 -05:00
parent 1d0483a0c8
commit 8784458dfe
4 changed files with 0 additions and 13 deletions

View File

@@ -266,7 +266,6 @@ function ($version) use ($resolvedPhpVersion) {
* Extract PHP executable path from PHP Version.
*
* @param string|null $phpVersion For example, "php@8.1"
* @return string
*/
public function getPhpExecutablePath(?string $phpVersion = null): string
{

View File

@@ -49,8 +49,6 @@ public function uninstall(): void
/**
* Tell Homebrew to restart dnsmasq.
*
* @return void
*/
public function restart(): void
{

View File

@@ -445,15 +445,12 @@ public function isSecured(string $site): bool
/**
* Secure the given host with TLS.
*
* @param string $url
* @param string|null $siteConf pregenerated Nginx config file contents
* @param int $certificateExpireInDays The number of days the self signed certificate is valid.
* Certificates SHOULD NOT have a validity period greater than 397 days.
* @param int $caExpireInYears The number of years the self signed certificate authority is valid.
*
* @see https://github.com/cabforum/servercert/blob/main/docs/BR.md
*
* @return void
*/
public function secure(string $url, ?string $siteConf = null, int $certificateExpireInDays = 396, int $caExpireInYears = 20): void
{
@@ -487,7 +484,6 @@ public function secure(string $url, ?string $siteConf = null, int $certificateEx
* If CA and root certificates are nonexistent, create them and trust the root cert.
*
* @param int $caExpireInDays The number of days the self signed certificate authority is valid.
* @return void
*/
public function createCa(int $caExpireInDays): void
{
@@ -544,9 +540,7 @@ public function removeCa(): void
/**
* Create and trust a certificate for the given URL.
*
* @param string $url
* @param int $caExpireInDays The number of days the self signed certificate is valid.
* @return void
*/
public function createCertificate(string $url, int $caExpireInDays): void
{
@@ -766,8 +760,6 @@ public function unsecureAll(): void
*
* @param string $url The domain name to serve
* @param string $host The URL to proxy to, eg: http://127.0.0.1:8080
* @param bool $secure
* @return void
*/
public function proxyCreate(string $url, string $host, bool $secure = false): void
{