1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-05 16:27:38 +02:00

[ticket/17176] Resolve psalm issues after PHP version update

PHPBB3-17176
This commit is contained in:
Marc Alexander
2023-08-20 09:54:07 +02:00
parent b82c880375
commit ac9659c38f
4 changed files with 5 additions and 5 deletions

View File

@@ -432,7 +432,7 @@ class postgres extends \phpbb\db\driver\driver
protected function _sql_close(): bool
{
// Released resources are already closed, return true in this case
if (!is_resource($this->db_connect_id))
if (!$this->db_connect_id instanceof \PgSql\Connection)
{
return true;
}