diff --git a/src/PdoInterface.php b/src/PdoInterface.php index 3b227cd0..bffb457e 100644 --- a/src/PdoInterface.php +++ b/src/PdoInterface.php @@ -153,7 +153,7 @@ public function query(string $query, ?int $fetchMode = null, ...$fetch_mode_args * @see http://php.net/manual/en/pdo.quote.php * */ - public function quote(mixed $value, int $parameter_type = PDO::PARAM_STR): string|false; + public function quote(string|int|array|float|null $value, int $type = PDO::PARAM_STR): string|false; /** *