Skip to content

Commit

Permalink
MDL-46054 web_services: Fixed invalid parameter definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
jleyva committed Sep 29, 2014
1 parent bd13270 commit 10c5fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/classes/grades_external.php
Expand Up @@ -405,7 +405,7 @@ public static function update_grades_parameters() {
'str_feedback' => new external_value(
PARAM_TEXT, 'A string representation of the feedback from the grader', VALUE_OPTIONAL),
)
), 'Any student grades to alter', VALUE_OPTIONAL),
), 'Any student grades to alter', VALUE_DEFAULT, array()),
'itemdetails' => new external_single_structure(
array(
'itemname' => new external_value(
Expand All @@ -428,7 +428,7 @@ public static function update_grades_parameters() {
PARAM_BOOL, 'True if the grade item should be deleted', VALUE_OPTIONAL),
'hidden' => new external_value(
PARAM_BOOL, 'True if the grade item is hidden', VALUE_OPTIONAL),
), 'Any grade item settings to alter', VALUE_OPTIONAL
), 'Any grade item settings to alter', VALUE_DEFAULT, array()
)
)
);
Expand Down

0 comments on commit 10c5fd1

Please sign in to comment.