diff --git a/src/FakePdoStatementTrait.php b/src/FakePdoStatementTrait.php index ac3fd4e6..71151103 100644 --- a/src/FakePdoStatementTrait.php +++ b/src/FakePdoStatementTrait.php @@ -74,6 +74,7 @@ public function __construct(FakePdoInterface $conn, string $sql, ?\PDO $real) * @param int $type * @return bool */ + #[\ReturnTypeWillChange] public function bindValue($key, $value, $type = \PDO::PARAM_STR) : bool { if (\is_string($key) && $key[0] !== ':') { @@ -99,6 +100,7 @@ public function bindValue($key, $value, $type = \PDO::PARAM_STR) : bool * @param mixed $driverOptions * @return bool */ + #[\ReturnTypeWillChange] public function bindParam($key, &$value, $type = PDO::PARAM_STR, $maxLength = null, $driverOptions = null): bool { if (\is_string($key) && $key[0] !== ':') {