|
@@ -55,7 +55,7 @@ discard block |
|
|
block discarded – undo |
|
55
|
55
|
*/ |
|
56
|
56
|
public function buildUdpClient(): Database |
|
57
|
57
|
{ |
|
58
|
|
- $client = new Client($this->host,$this->udpPort, $this->username, $this->password); |
|
|
58
|
+ $client = new Client($this->host, $this->udpPort, $this->username, $this->password); |
|
59
|
59
|
$client->setDriver(new UDP($this->host, $this->udpPort)); |
|
60
|
60
|
|
|
61
|
61
|
return $client->selectDB($this->database); |
|
@@ -66,7 +66,7 @@ discard block |
|
|
block discarded – undo |
|
66
|
66
|
*/ |
|
67
|
67
|
public function buildHttpClient(): Database |
|
68
|
68
|
{ |
|
69
|
|
- $client = new Client($this->host,$this->httpPort, $this->username, $this->password); |
|
|
69
|
+ $client = new Client($this->host, $this->httpPort, $this->username, $this->password); |
|
70
|
70
|
|
|
71
|
71
|
return $client->selectDB($this->database); |
|
72
|
72
|
} |
Please login to merge, or discard this patch.