original_string: public function sendSubscriptionRequest($to)
      {
  
          $presence = new \sb\XMPP\Presence();
          $presence->setTo($to);
          $presence->setType('subscribe');
          $presence->setFrom($this->jid);
          return $this->sendPresence($presence);
  
      }
code: public function sendSubscriptionRequest($to)
      {
  
          $presence = new \sb\XMPP\Presence();
          $presence->setTo($to);
          $presence->setType('subscribe');
          $presence->setFrom($this->jid);
          return $this->sendPresence($presence);
  
      }
code_tokens: public function sendSubscriptionRequest ( $ to ) { $ presence = new \ sb \ XMPP \ Presence ( ) ; $ presence -> setTo ( $ to ) ; $ presence -> setType ( 'subscribe' ) ; $ presence -> setFrom ( $ this -> jid ) ; return $ this -> sendPresence ( $ presence ) ; }
docstring: Sends a subscription request to a jid
  @param string $to The hid to send the subscription request to
  @return boolean
docstring_tokens: Sends a subscription request to a jid