MDL-66081 calendar: fix typo in attribute description

This commit is contained in:
Simey Lameze 2019-07-04 20:35:06 +08:00
parent fac49f8f72
commit 316412beb4

View File

@ -1026,8 +1026,8 @@ class core_calendar_external extends external_api {
public static function get_calendar_monthly_view_parameters() {
return new external_function_parameters(
[
'year' => new external_value(PARAM_INT, 'Month to be viewed', VALUE_REQUIRED),
'month' => new external_value(PARAM_INT, 'Year to be viewed', VALUE_REQUIRED),
'year' => new external_value(PARAM_INT, 'Year to be viewed', VALUE_REQUIRED),
'month' => new external_value(PARAM_INT, 'Month to be viewed', VALUE_REQUIRED),
'courseid' => new external_value(PARAM_INT, 'Course being viewed', VALUE_DEFAULT, SITEID, NULL_ALLOWED),
'categoryid' => new external_value(PARAM_INT, 'Category being viewed', VALUE_DEFAULT, null, NULL_ALLOWED),
'includenavigation' => new external_value(