diff --git a/cli/Valet/Brew.php b/cli/Valet/Brew.php index e699cf5..2acf68b 100644 --- a/cli/Valet/Brew.php +++ b/cli/Valet/Brew.php @@ -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 { diff --git a/cli/Valet/DnsMasq.php b/cli/Valet/DnsMasq.php index f1fcf92..2806824 100644 --- a/cli/Valet/DnsMasq.php +++ b/cli/Valet/DnsMasq.php @@ -49,8 +49,6 @@ public function uninstall(): void /** * Tell Homebrew to restart dnsmasq. - * - * @return void */ public function restart(): void { diff --git a/cli/Valet/Site.php b/cli/Valet/Site.php index 1425dcf..1136c92 100644 --- a/cli/Valet/Site.php +++ b/cli/Valet/Site.php @@ -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 { diff --git a/cli/includes/facades.php b/cli/includes/facades.php index d4adebb..32cf54a 100644 --- a/cli/includes/facades.php +++ b/cli/includes/facades.php @@ -6,8 +6,6 @@ class Facade { /** * The key for the binding in the container. - * - * @return string */ public static function containerKey(): string {