Skip to content

Commit c715a28

Browse files
committed
Drop setHost(<Array>) #103
1 parent ed7ae42 commit c715a28

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Client.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,10 @@ public function enableQueryConditions()
149149
/**
150150
* Set connection host
151151
*
152-
* @param string|string[] $host
152+
* @param string $host
153153
*/
154154
public function setHost($host)
155155
{
156-
if (is_array($host)) {
157-
$host = array_rand(array_flip($host));
158-
}
159-
160156
$this->connectHost = $host;
161157
$this->transport()->setHost($host);
162158
}

0 commit comments

Comments
 (0)