When running under PHP7, following excpetion occurs:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Wrench\Connection::close() must be of the type integer, object given, called in .\vendor\wrench\wrench\lib\ConnectionManager.php on line 22
This pull request replaces close calls with object $connection->close($e); to correct calls with int $connection->close(Protocol::CLOSE_UNEXPECTED);
When running under PHP7, following excpetion occurs:
This pull request replaces close calls with object
$connection->close($e);
to correct calls with int$connection->close(Protocol::CLOSE_UNEXPECTED);