fix error with the setServerOptions method
This commit is contained in:
1 parent
9c114cd13b
commit
9331e22a54
1 file changed
+1
-1
@@ -2154,7 +2154,7 @@ class Connection
|
|||||||
* @return bool
|
* @return bool
|
||||||
* @throws InvalidArgumentException
|
* @throws InvalidArgumentException
|
||||||
*/
|
*/
|
||||||
function setServerOptions(\Structures\ServerOptions $options, $multicall = false)
|
function setServerOptions(Structures\ServerOptions $options, $multicall = false)
|
||||||
{
|
{
|
||||||
if ($options->isValid() === false) {
|
if ($options->isValid() === false) {
|
||||||
throw new InvalidArgumentException('options = ' . print_r($options, true));
|
throw new InvalidArgumentException('options = ' . print_r($options, true));
|
||||||
|
|||||||
Reference in new issue
Block a user