mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 08:40:09 +01:00
Make domain required in currentTunnelUrl
These methods are never passed null anyway. Co-Authored-By: Mateus Junges <mateus@junges.dev>
This commit is contained in:
@@ -10,7 +10,7 @@ public function __construct(public CommandLine $cli, public Brew $brew)
|
||||
{
|
||||
}
|
||||
|
||||
public function currentTunnelUrl(?string $domain = null)
|
||||
public function currentTunnelUrl(string $domain): ?string
|
||||
{
|
||||
return $this->currentCloudflaredTunnels()[$domain] ?? false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user