diff --git a/composer.json b/composer.json index 14f330610..74cab7e5e 100644 --- a/composer.json +++ b/composer.json @@ -58,7 +58,7 @@ "webmozart/assert": "^1.11", "bacon/bacon-qr-code": "^2.0", "nikic/php-parser": "^4.16", - "revolt/event-loop": "^1.0.3" + "revolt/event-loop": "^1.0.4" }, "require-dev": { "phpdocumentor/reflection-docblock": "dev-master", diff --git a/src/Db/Driver/Mysql.php b/src/Db/Driver/Mysql.php index cbcc1cd76..6175e3afe 100644 --- a/src/Db/Driver/Mysql.php +++ b/src/Db/Driver/Mysql.php @@ -74,7 +74,6 @@ final class Mysql ); } - \assert($config instanceof MysqlConfig); self::$connections[$dbKey] = [ new MysqlConnectionPool($config, $settings->getMaxConnections(), $settings->getIdleTimeout()), $pdo