mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-12 05:44:06 +00:00
do not intermix params with and without default
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Nominatim;
|
|||||||
class DatabaseError extends \Exception
|
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);
|
parent::__construct($message, $code, $previous);
|
||||||
// https://secure.php.net/manual/en/class.pdoexception.php
|
// https://secure.php.net/manual/en/class.pdoexception.php
|
||||||
|
|||||||
Reference in New Issue
Block a user