fix error with the setServerOptions method
This commit is contained in:
@@ -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