MDL-81634 core: Fix all implicitly defined nullables
Note: This does not impact third-party libraries.
This commit is contained in:
@@ -223,7 +223,7 @@ abstract class testing_module_generator extends component_generator_base {
|
||||
* @return stdClass record from module-defined table with additional field
|
||||
* cmid (corresponding id in course_modules table)
|
||||
*/
|
||||
public function create_instance($record = null, array $options = null) {
|
||||
public function create_instance($record = null, ?array $options = null) {
|
||||
global $CFG, $DB, $PAGE;
|
||||
require_once($CFG->dirroot.'/course/modlib.php');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user