From b52f463ecb25d8e47865a54deaf11addba8ab88e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 21 Sep 2016 09:17:36 -0500 Subject: [PATCH] remove superstition --- cli/Valet/Ngrok.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/Valet/Ngrok.php b/cli/Valet/Ngrok.php index 6c3dee7..9835880 100644 --- a/cli/Valet/Ngrok.php +++ b/cli/Valet/Ngrok.php @@ -7,14 +7,14 @@ class Ngrok { - public $tunnelsEndpoint = 'http://127.0.0.1:4040/api/tunnels'; + var $tunnelsEndpoint = 'http://127.0.0.1:4040/api/tunnels'; /** * Get the current tunnel URL from the Ngrok API. * * @return string */ - public function currentTunnelUrl() + function currentTunnelUrl() { return retry(20, function () { $body = Request::get($this->tunnelsEndpoint)->send()->body; @@ -36,7 +36,7 @@ public function currentTunnelUrl() * @param array $tunnels * @return string|null */ - public function findHttpTunnelUrl(array $tunnels) + function findHttpTunnelUrl(array $tunnels) { foreach ($tunnels as $tunnel) { if ($tunnel->proto === 'http') {