original_string: public static function create_relation($userid, $competencyid, $courseid) {
          $data = new \stdClass();
          $data->userid = $userid;
          $data->competencyid = $competencyid;
          $data->courseid = $courseid;
  
          $relation = new user_competency_course(0, $data);
          return $relation;
      }
code: public static function create_relation($userid, $competencyid, $courseid) {
          $data = new \stdClass();
          $data->userid = $userid;
          $data->competencyid = $competencyid;
          $data->courseid = $courseid;
  
          $relation = new user_competency_course(0, $data);
          return $relation;
      }
code_tokens: public static function create_relation ( $ userid , $ competencyid , $ courseid ) { $ data = new \ stdClass ( ) ; $ data -> userid = $ userid ; $ data -> competencyid = $ competencyid ; $ data -> courseid = $ courseid ; $ relation = new user_competency_course ( 0 , $ data ) ; return $ relation ; }
docstring: Create a new user_competency_course object.
  
  Note, this is intended to be used to create a blank relation, for instance when
  the record was not found in the database. This does not save the model.
  
  @param  int $userid The user ID.
  @param  int $competencyid The competency ID.
  @param  int $courseid The course ID.
  @return \core_competency\user_competency_course
docstring_tokens: Create a new user_competency_course object .