PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
snippet in php

PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;

user3392

//From
public function TSStatus($host, $queryPort);

//to
public function __construct($host, $queryPort);