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

Fix site::unlink method signature and docblock

This commit is contained in:
Matt Stauffer
2022-12-26 00:01:55 -05:00
parent f13be53b9f
commit 37099a6edb

View File

@@ -325,10 +325,10 @@ public function getSites(string $path, Collection $certs): Collection
/**
* Unlink the given symbolic link.
*
* @param string $name
* @param string|null $name
* @return string
*/
public function unlink(string $name): string
public function unlink(?string $name = null): string
{
$name = $this->getRealSiteName($name);