original_string: protected function get_legacy_eventdata() {
          $data = new \stdClass();
          $data->cohortid = $this->objectid;
          $data->userid = $this->relateduserid;
          return $data;
      }
code: protected function get_legacy_eventdata() {
          $data = new \stdClass();
          $data->cohortid = $this->objectid;
          $data->userid = $this->relateduserid;
          return $data;
      }
code_tokens: protected function get_legacy_eventdata ( ) { $ data = new \ stdClass ( ) ; $ data -> cohortid = $ this -> objectid ; $ data -> userid = $ this -> relateduserid ; return $ data ; }
docstring: Return legacy event data.
  
  @return \stdClass
docstring_tokens: Return legacy event data .