MDL-81520 core: Fix test finality

This commit is contained in:
Andrew Nicols
2024-12-11 12:30:21 +08:00
parent 3d7496dacd
commit 5be481d1d0
1458 changed files with 1986 additions and 1666 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ require_once(__DIR__ . '/../lib.php');
* @copyright 2010 The Open University
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class questionutils_test extends \advanced_testcase {
public function test_arrays_have_same_keys_and_values() {
final class questionutils_test extends \advanced_testcase {
public function test_arrays_have_same_keys_and_values(): void {
$this->assertTrue(question_utils::arrays_have_same_keys_and_values(
array(),
array()));