Skip to content

Commit 848b816

Browse files
committed
ResultSet: muted warnings
1 parent 7e705c5 commit 848b816

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/ResultSet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function __construct(Connection $connection, string $queryString, array $
6767
$this->pdoStatement->bindValue(is_int($key) ? $key + 1 : $key, $value, $types[$type] ?? PDO::PARAM_STR);
6868
}
6969
$this->pdoStatement->setFetchMode(PDO::FETCH_ASSOC);
70-
$this->pdoStatement->execute();
70+
@$this->pdoStatement->execute(); // @ PHP generates warning when ATTR_ERRMODE = ERRMODE_EXCEPTION bug #73878
7171
}
7272
} catch (\PDOException $e) {
7373
$e = $connection->getSupplementalDriver()->convertException($e);

0 commit comments

Comments
 (0)