mirror of
https://github.com/laravel/valet.git
synced 2026-02-07 09:10:03 +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:
@@ -9,7 +9,7 @@ class Expose
|
||||
{
|
||||
public function __construct(public Composer $composer, public CommandLine $cli) {}
|
||||
|
||||
public function currentTunnelUrl(?string $domain = null): ?string
|
||||
public function currentTunnelUrl(string $domain): ?string
|
||||
{
|
||||
$endpoint = 'http://127.0.0.1:4040/api/tunnels';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user