Skip to content

Commit

Permalink
Add type declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
campbell-m committed Jul 3, 2024
1 parent f4dcd1b commit f7b6b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/lib/MRBS/DBException.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))
{
Expand Down

0 comments on commit f7b6b34

Please sign in to comment.