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
        ];
    }
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
        ];
    }
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 ] ; }
Return any files this plugin wishes to save to the gradebook.

@param stdClass $grade The assign_grades object from the db
@return array
Return any files this plugin wishes to save to the gradebook .