do not intermix params with and without default

This commit is contained in:
Sarah Hoffmann
2021-07-11 20:10:13 +02:00
parent 58b10074ad
commit bffbe68ec3

View File

@@ -5,7 +5,7 @@ namespace Nominatim;
class DatabaseError extends \Exception
{
public function __construct($message, $code = 500, Exception $previous = null, $oPDOErr, $sSql = null)
public function __construct($message, $code, $previous, $oPDOErr, $sSql = null)
{
parent::__construct($message, $code, $previous);
// https://secure.php.net/manual/en/class.pdoexception.php