From 6f90758721dd227b122c7888c69da17b7858072d Mon Sep 17 00:00:00 2001 From: Marina Glancy Date: Mon, 15 Feb 2021 15:16:31 +0100 Subject: [PATCH] MDL-70899 dml: set_db_handle() definition not compatible with parent --- lib/dml/tests/fixtures/read_slave_moodle_database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dml/tests/fixtures/read_slave_moodle_database.php b/lib/dml/tests/fixtures/read_slave_moodle_database.php index 6029e91a620..982dbad135d 100644 --- a/lib/dml/tests/fixtures/read_slave_moodle_database.php +++ b/lib/dml/tests/fixtures/read_slave_moodle_database.php @@ -200,7 +200,7 @@ class read_slave_moodle_database extends test_moodle_database { * @param string $dbh * @return void */ - protected function set_db_handle($dbh) { + protected function set_db_handle($dbh): void { $this->handle = $dbh; }