original_string: protected function get_ratings_on_subcontext(\context $context, array $subcontext) {
          $writer = \core_privacy\local\request\writer::with_context($context);
          return $writer->get_related_data($subcontext, 'rating');
      }
code: protected function get_ratings_on_subcontext(\context $context, array $subcontext) {
          $writer = \core_privacy\local\request\writer::with_context($context);
          return $writer->get_related_data($subcontext, 'rating');
      }
code_tokens: protected function get_ratings_on_subcontext ( \ context $ context , array $ subcontext ) { $ writer = \ core_privacy \ local \ request \ writer :: with_context ( $ context ) ; return $ writer -> get_related_data ( $ subcontext , 'rating' ) ; }
docstring: Fetch all ratings on a subcontext.
  
  @param   \context            $context    The context being stored.
  @param   array               $subcontext The subcontext path to check.
  @return  array
docstring_tokens: Fetch all ratings on a subcontext .