diff --git a/cli/Valet/Ngrok.php b/cli/Valet/Ngrok.php index 734c0c9..245ce5a 100644 --- a/cli/Valet/Ngrok.php +++ b/cli/Valet/Ngrok.php @@ -73,11 +73,10 @@ public function findHttpTunnelUrl(array $tunnels, string $domain): ?string } } - // Return HTTP tunnel if available, otherwise return HTTPS tunnel + // Return HTTP tunnel if available; HTTPS tunnel if not; null if neither return $httpTunnel ?? $httpsTunnel; } - /** * Set the Ngrok auth token. */