original_string: public function can_split_discussions(stdClass $user) : bool {
          $forum = $this->get_forum();
          return $forum->get_type() !== 'single' && has_capability('mod/forum:splitdiscussions', $this->get_context(), $user);
      }
code: public function can_split_discussions(stdClass $user) : bool {
          $forum = $this->get_forum();
          return $forum->get_type() !== 'single' && has_capability('mod/forum:splitdiscussions', $this->get_context(), $user);
      }
code_tokens: public function can_split_discussions ( stdClass $ user ) : bool { $ forum = $ this -> get_forum ( ) ; return $ forum -> get_type ( ) !== 'single' && has_capability ( 'mod/forum:splitdiscussions' , $ this -> get_context ( ) , $ user ) ; }
docstring: Can the user split discussions in this forum?
  
  @param stdClass $user The user to check
  @return bool
docstring_tokens: Can the user split discussions in this forum?