mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 00:20:08 +01:00
Fix site::unlink method signature and docblock
This commit is contained in:
@@ -325,10 +325,10 @@ public function getSites(string $path, Collection $certs): Collection
|
|||||||
/**
|
/**
|
||||||
* Unlink the given symbolic link.
|
* Unlink the given symbolic link.
|
||||||
*
|
*
|
||||||
* @param string $name
|
* @param string|null $name
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function unlink(string $name): string
|
public function unlink(?string $name = null): string
|
||||||
{
|
{
|
||||||
$name = $this->getRealSiteName($name);
|
$name = $this->getRealSiteName($name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user