From 75f231a3223b379aaef2ba55fa5e0318ae5bc202 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Sun, 22 Oct 2023 16:36:50 +0200 Subject: [PATCH] Psalm fix --- composer.json | 2 +- src/Db/Driver/Mysql.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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