original_string: private function get_neighbour_links_html() : string {
          $forum = $this->forum;
          $coursemodule = $forum->get_course_module_record();
          $neighbours = forum_get_discussion_neighbours($coursemodule, $this->discussionrecord, $this->forumrecord);
          return $this->renderer->neighbouring_discussion_navigation($neighbours['prev'], $neighbours['next']);
      }
code: private function get_neighbour_links_html() : string {
          $forum = $this->forum;
          $coursemodule = $forum->get_course_module_record();
          $neighbours = forum_get_discussion_neighbours($coursemodule, $this->discussionrecord, $this->forumrecord);
          return $this->renderer->neighbouring_discussion_navigation($neighbours['prev'], $neighbours['next']);
      }
code_tokens: private function get_neighbour_links_html ( ) : string { $ forum = $ this -> forum ; $ coursemodule = $ forum -> get_course_module_record ( ) ; $ neighbours = forum_get_discussion_neighbours ( $ coursemodule , $ this -> discussionrecord , $ this -> forumrecord ) ; return $ this -> renderer -> neighbouring_discussion_navigation ( $ neighbours [ 'prev' ] , $ neighbours [ 'next' ] ) ; }
docstring: Get HTML to display the neighbour links.
  
  @return string
docstring_tokens: Get HTML to display the neighbour links .