From 58f45d3e037c686844e43d3117de35dc05c0e4c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Thu, 20 Jul 2023 13:59:37 +0900 Subject: [PATCH] servermgr2 init... --- app/Libraries/Adapter/API/Adapter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;