MDL-75548 misc: final Required parameter follows optional notices
This commit is contained in:
@@ -315,12 +315,12 @@ class pgsql_native_moodle_database extends moodle_database {
|
||||
/**
|
||||
* Called before each db query.
|
||||
* @param string $sql
|
||||
* @param array array of parameters
|
||||
* @param array|null $params An array of parameters.
|
||||
* @param int $type type of query
|
||||
* @param mixed $extrainfo driver specific extra information
|
||||
* @return void
|
||||
*/
|
||||
protected function query_start($sql, array $params=null, $type, $extrainfo=null) {
|
||||
protected function query_start($sql, ?array $params, $type, $extrainfo=null) {
|
||||
$this->read_slave_query_start($sql, $params, $type, $extrainfo);
|
||||
// pgsql driver tends to send debug to output, we do not need that.
|
||||
$this->last_error_reporting = error_reporting(0);
|
||||
|
||||
Reference in New Issue
Block a user