fix error with the setServerOptions method
This commit is contained in:
parent
9c114cd13b
commit
9331e22a54
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user