Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 33... Línea 33...
33
 * @copyright 2013 Adrian Greeve <adrian@moodle.com>
33
 * @copyright 2013 Adrian Greeve <adrian@moodle.com>
34
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
34
 * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
35
 */
35
 */
36
class mod_choice_generator extends testing_module_generator {
36
class mod_choice_generator extends testing_module_generator {
Línea 37... Línea 37...
37
 
37
 
38
    public function create_instance($record = null, array $options = null) {
38
    public function create_instance($record = null, ?array $options = null) {
Línea 39... Línea 39...
39
        $record = (object)(array)$record;
39
        $record = (object)(array)$record;
40
 
40
 
41
        if (!isset($record->timemodified)) {
41
        if (!isset($record->timemodified)) {