servermgr2 init...
This commit is contained in:
parent
e22871a002
commit
58f45d3e03
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user