1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 16:10:08 +01:00

Apply fixes from StyleCI

This commit is contained in:
StyleCI Bot
2022-12-20 20:12:57 +00:00
parent cc23311377
commit 6c5873c6e1

View File

@@ -296,7 +296,7 @@ public function getCertificates(?string $path = null): Collection
*
* @param string $path
* @param Collection $certs
* @return Collection
* @return Collection
*/
public function getSites(string $path, Collection $certs): Collection
{
@@ -700,7 +700,7 @@ public function buildCertificateConf(string $path, string $url): void
* @param string|null $siteConf (optional) Nginx site config file content
* @return string
*/
public function buildSecureNginxServer(string $url, ?string$siteConf = null): string
public function buildSecureNginxServer(string $url, ?string $siteConf = null): string
{
if ($siteConf === null) {
$siteConf = $this->replaceOldLoopbackWithNew(
@@ -817,6 +817,7 @@ public function unsecureAll(): void
if ($secured->count() === 0) {
info('No sites to unsecure. You may list all servable sites or links by running <comment>valet parked</comment> or <comment>valet links</comment>.');
return;
}
@@ -1053,7 +1054,7 @@ public function plistPath(): string
* Get the path to Nginx site configuration files.
*
* @param string|null $additionalPath
* @return string
* @return string
*/
public function nginxPath(?string $additionalPath = null): string
{