original_string: private function get_tags_from_posts(array $posts) : array {
          $postids = array_map(function($post) {
              return $post->get_id();
          }, $posts);
          return core_tag_tag::get_items_tags('mod_forum', 'forum_posts', $postids);
      }
code: private function get_tags_from_posts(array $posts) : array {
          $postids = array_map(function($post) {
              return $post->get_id();
          }, $posts);
          return core_tag_tag::get_items_tags('mod_forum', 'forum_posts', $postids);
      }
code_tokens: private function get_tags_from_posts ( array $ posts ) : array { $ postids = array_map ( function ( $ post ) { return $ post -> get_id ( ) ; } , $ posts ) ; return core_tag_tag :: get_items_tags ( 'mod_forum' , 'forum_posts' , $ postids ) ; }
docstring: Get the list of tags for each of the posts. The tags will be returned in an
  array indexed by the post id.
  
  @param post_entity[] $posts The list of posts to load tags for.
  @return array Sets of tags indexed by post id.
docstring_tokens: Get the list of tags for each of the posts . The tags will be returned in an array indexed by the post id .