]> git.openstreetmap.org Git - nominatim.git/commitdiff
do not intermix params with and without default
authorSarah Hoffmann <lonvia@denofr.de>
Sun, 11 Jul 2021 18:10:13 +0000 (20:10 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sun, 11 Jul 2021 21:22:53 +0000 (23:22 +0200)
lib-php/DatabaseError.php

index 3a53bc8ffd6f3fc4eed698d343da731a484e21d3..ec428de1951f8be8bb8976c5fae578892b6cddb4 100644 (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