original_string: public function sendAcceptSubscriptionRequest($to)
      {
          $presence = new \sb\XMPP\Presence();
          $presence->setType('subscribed');
          $presence->setTo($to);
          return $this->sendPresence($presence);
      }
code: public function sendAcceptSubscriptionRequest($to)
      {
          $presence = new \sb\XMPP\Presence();
          $presence->setType('subscribed');
          $presence->setTo($to);
          return $this->sendPresence($presence);
      }
code_tokens: public function sendAcceptSubscriptionRequest ( $ to ) { $ presence = new \ sb \ XMPP \ Presence ( ) ; $ presence -> setType ( 'subscribed' ) ; $ presence -> setTo ( $ to ) ; return $ this -> sendPresence ( $ presence ) ; }
docstring: Send a presence message accepting subscription request to a jid
  @param string $to The jid of the person to send the acceptance request to
  @return boolean
docstring_tokens: Send a presence message accepting subscription request to a jid