original_string: protected function get_child_course($course) {
          context_helper::preload_from_record($course);
          $context = context_course::instance($course->id);
          $child = new file_info_context_course($this->browser, $context, $course);
          return $child->get_file_info(null, null, null, null, null);
      }
code: protected function get_child_course($course) {
          context_helper::preload_from_record($course);
          $context = context_course::instance($course->id);
          $child = new file_info_context_course($this->browser, $context, $course);
          return $child->get_file_info(null, null, null, null, null);
      }
code_tokens: protected function get_child_course ( $ course ) { context_helper :: preload_from_record ( $ course ) ; $ context = context_course :: instance ( $ course -> id ) ; $ child = new file_info_context_course ( $ this -> browser , $ context , $ course ) ; return $ child -> get_file_info ( null , null , null , null , null ) ; }
docstring: Returns the file info element for a given course or null if course is not accessible
  
  @param stdClass $course may contain context fields for preloading
  @return file_info_context_course|null
docstring_tokens: Returns the file info element for a given course or null if course is not accessible