original_string: private function get_groups_available_in_forum() : array {
          $course = $this->forum->get_course_record();
          $coursemodule = $this->forum->get_course_module_record();
  
          return groups_get_all_groups($course->id, 0, $coursemodule->groupingid);
      }
code: private function get_groups_available_in_forum() : array {
          $course = $this->forum->get_course_record();
          $coursemodule = $this->forum->get_course_module_record();
  
          return groups_get_all_groups($course->id, 0, $coursemodule->groupingid);
      }
code_tokens: private function get_groups_available_in_forum ( ) : array { $ course = $ this -> forum -> get_course_record ( ) ; $ coursemodule = $ this -> forum -> get_course_module_record ( ) ; return groups_get_all_groups ( $ course -> id , 0 , $ coursemodule -> groupingid ) ; }
docstring: Get the groups details for all groups available to the forum.
  
  @return  stdClass[]
docstring_tokens: Get the groups details for all groups available to the forum .