diff --git a/web/lib/MRBS/DBException.php b/web/lib/MRBS/DBException.php index d7ea0bddf7..cf9bb106c8 100644 --- a/web/lib/MRBS/DBException.php +++ b/web/lib/MRBS/DBException.php @@ -7,7 +7,7 @@ class DBException extends PDOException { - public function __construct($message, $code=0, PDOException $previous=null, $sql=null, $params=null) + public function __construct(string $message, int $code=0, PDOException $previous=null, string $sql=null, array $params=null) { if (isset($sql)) {