original_string: public function files_for_gradebook(stdClass $grade) : array {
          return [
              'contextid' => $this->assignment->get_context()->id,
              'component' => ASSIGNFEEDBACK_COMMENTS_COMPONENT,
              'filearea' => ASSIGNFEEDBACK_COMMENTS_FILEAREA,
              'itemid' => $grade->id
          ];
      }
code: public function files_for_gradebook(stdClass $grade) : array {
          return [
              'contextid' => $this->assignment->get_context()->id,
              'component' => ASSIGNFEEDBACK_COMMENTS_COMPONENT,
              'filearea' => ASSIGNFEEDBACK_COMMENTS_FILEAREA,
              'itemid' => $grade->id
          ];
      }
code_tokens: public function files_for_gradebook ( stdClass $ grade ) : array { return [ 'contextid' => $ this -> assignment -> get_context ( ) -> id , 'component' => ASSIGNFEEDBACK_COMMENTS_COMPONENT , 'filearea' => ASSIGNFEEDBACK_COMMENTS_FILEAREA , 'itemid' => $ grade -> id ] ; }
docstring: Return any files this plugin wishes to save to the gradebook.
  
  @param stdClass $grade The assign_grades object from the db
  @return array
docstring_tokens: Return any files this plugin wishes to save to the gradebook .