original_string: public static function get_discussion_posts_returns() {
          return new external_single_structure([
              'posts' => new external_multiple_structure(\mod_forum\local\exporters\post::get_read_structure()),
              'ratinginfo' => \core_rating\external\util::external_ratings_structure(),
              'warnings' => new external_warnings()
          ]);
      }
code: public static function get_discussion_posts_returns() {
          return new external_single_structure([
              'posts' => new external_multiple_structure(\mod_forum\local\exporters\post::get_read_structure()),
              'ratinginfo' => \core_rating\external\util::external_ratings_structure(),
              'warnings' => new external_warnings()
          ]);
      }
code_tokens: public static function get_discussion_posts_returns ( ) { return new external_single_structure ( [ 'posts' => new external_multiple_structure ( \ mod_forum \ local \ exporters \ post :: get_read_structure ( ) ) , 'ratinginfo' => \ core_rating \ external \ util :: external_ratings_structure ( ) , 'warnings' => new external_warnings ( ) ] ) ; }
docstring: Describe the post return format.
  
  @return external_single_structure
docstring_tokens: Describe the post return format .