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.
Component/TlsEnabler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 use Kadet\Xmpp\Stream\Features;
21 21
 use Kadet\Xmpp\Utils\filter as with;
22 22
 use Kadet\Xmpp\Xml\XmlElement;
23
-use Kadet\Xmpp\XmppClient;
24 23
 
25 24
 class TlsEnabler extends Component
26 25
 {
Please login to merge, or discard this patch.