Skip to content

Commit 2825ce0

Browse files
committed
style: satisfy Rector for Postgre errors (#6913)
1 parent 255f703 commit 2825ce0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎system/Database/Postgre/Connection.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ protected function execute(string $sql)
210210
$result = pg_query($this->connID, $sql);
211211

212212
if ($result === false && $this->DBDebug) {
213-
throw new DatabaseException((string) pg_last_error($this->connID));
213+
throw new DatabaseException(pg_last_error($this->connID));
214214
}
215215

216216
return $result;

0 commit comments

Comments
 (0)