1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-02 12:37:47 +01:00

Psalm fix

This commit is contained in:
Daniil Gentili 2023-10-22 16:36:50 +02:00
parent 0e29762b3e
commit 75f231a322
2 changed files with 1 additions and 2 deletions

View File

@ -58,7 +58,7 @@
"webmozart/assert": "^1.11", "webmozart/assert": "^1.11",
"bacon/bacon-qr-code": "^2.0", "bacon/bacon-qr-code": "^2.0",
"nikic/php-parser": "^4.16", "nikic/php-parser": "^4.16",
"revolt/event-loop": "^1.0.3" "revolt/event-loop": "^1.0.4"
}, },
"require-dev": { "require-dev": {
"phpdocumentor/reflection-docblock": "dev-master", "phpdocumentor/reflection-docblock": "dev-master",

View File

@ -74,7 +74,6 @@ final class Mysql
); );
} }
\assert($config instanceof MysqlConfig);
self::$connections[$dbKey] = [ self::$connections[$dbKey] = [
new MysqlConnectionPool($config, $settings->getMaxConnections(), $settings->getIdleTimeout()), new MysqlConnectionPool($config, $settings->getMaxConnections(), $settings->getIdleTimeout()),
$pdo $pdo