Completed
Push — master ( 6634cb...f6cba5 )
by Kacper
06:10
created
Component/Subscription/SubscriptionManager.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     /**
56 56
      * Sends subscription removal request presence to server.
57 57
      *
58
-     * @param Jid|string $jid
58
+     * @param Jid $jid
59 59
      * @return \React\Promise\ExtendedPromiseInterface
60 60
      */
61 61
     public function unsubscribe(Jid $jid)
@@ -74,6 +74,9 @@  discard block
 block discarded – undo
74 74
         return $this->_client->send($this->presence('unsubscribed', $jid));
75 75
     }
76 76
 
77
+    /**
78
+     * @param string $type
79
+     */
77 80
     private function presence($type, $jid)
78 81
     {
79 82
         $jid = $jid instanceof Jid ? $jid : new Jid($jid);
Please login to merge, or discard this patch.