mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-02 12:37:47 +01:00
Psalm fix
This commit is contained in:
parent
0e29762b3e
commit
75f231a322
@ -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",
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user