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 Ankit Agarwal
33
 * @copyright  2013 Ankit Agarwal
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_feedback_generator extends testing_module_generator {
36
class mod_feedback_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) {
39
        global $CFG;
39
        global $CFG;
40
        require_once($CFG->dirroot.'/mod/feedback/lib.php');
40
        require_once($CFG->dirroot.'/mod/feedback/lib.php');
Línea 41... Línea 41...
41
        $record = (object)(array)$record;
41
        $record = (object)(array)$record;