Open eduardokraus opened 5 months ago
In lines 46 and 51 of the custom_completion class, return $type; is present, however, the variables $type are not defined.
return $type;
$type
Line 46: Link Line 51: Link
Access the custom_completion.php file in the mentioned repository. Navigate to lines 46 and 51. Note that the variables $type are not defined before the return statement.
return
https://github.com/EduardoKrausME/moodle-mod_subcourse/blob/MOODLE_402_STABLE/classes/completion/custom_completion.php#L47
Problem Description
In lines 46 and 51 of the custom_completion class,
return $type;
is present, however, the variables$type
are not defined.Problem Location
Line 46: Link Line 51: Link
Steps to Reproduce
Access the custom_completion.php file in the mentioned repository. Navigate to lines 46 and 51. Note that the variables
$type
are not defined before thereturn
statement.