diff --git a/app/Libraries/Adapter/API/Adapter.php b/app/Libraries/Adapter/API/Adapter.php index f8e5217..1f2ce24 100644 --- a/app/Libraries/Adapter/API/Adapter.php +++ b/app/Libraries/Adapter/API/Adapter.php @@ -15,7 +15,7 @@ abstract class Adapter } abstract protected function getClient(); abstract protected function requestURL(string $url, string $method, array $datas = []): object; - final public function setServerInfo(string $ip, int $port) + final public function setServerInfo($ip, $port) { $this->_serverInfo['ip'] = $ip; $this->_serverInfo['port'] = $port; @@ -24,7 +24,7 @@ abstract class Adapter { return $scheme . $this->_serverInfo['ip'] . $delimeter . $this->_serverInfo['port']; } - final public function setAccountInfo(string $id, int $password) + final public function setAccountInfo($id, $password) { $this->_serverInfo['id'] = $id; $this->_serverInfo['password'] = $password;