From a9874766f14fb733cacf4ec593875e0795acee84 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 22 Aug 2019 18:31:16 +0200 Subject: [PATCH] fixed TSStatus constructor --- lib/tsstatus/TSStatus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tsstatus/TSStatus.php b/lib/tsstatus/TSStatus.php index 2c63c5c..06b841e 100644 --- a/lib/tsstatus/TSStatus.php +++ b/lib/tsstatus/TSStatus.php @@ -30,7 +30,7 @@ class TSStatus public $hideEmptyChannels; public $hideParentChannels; - public function TSStatus($host, $queryPort = 10011) + public function __construct($host, $queryPort = 10011) { $this->_host = $host; $this->_queryPort = $queryPort;