original_string: public static function accept_policies($policyversionid, $userid = null, $note = null, $lang = null) {
          static::set_acceptances_status($policyversionid, $userid, $note, $lang, 1);
      }
code: public static function accept_policies($policyversionid, $userid = null, $note = null, $lang = null) {
          static::set_acceptances_status($policyversionid, $userid, $note, $lang, 1);
      }
code_tokens: public static function accept_policies ( $ policyversionid , $ userid = null , $ note = null , $ lang = null ) { static :: set_acceptances_status ( $ policyversionid , $ userid , $ note , $ lang , 1 ) ; }
docstring: Mark the given policy versions as accepted by the user.
  
  @param array|int $policyversionid Policy version id(s) to set acceptance status for.
  @param int|null $userid Id of the user accepting the policy version, defaults to the current one.
  @param string|null $note Note to be recorded.
  @param string|null $lang Language in which the policy was shown, defaults to the current one.
docstring_tokens: Mark the given policy versions as accepted by the user .