Completed
Push — master ( 634839...cd1596 )
by Kacper
03:22
created
Utils/BetterEmitter.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -32,6 +32,10 @@
 block discarded – undo
32 32
         return $this->addListener($event, $this->getConditionalCallable($listener, $condition), $priority);
33 33
     }
34 34
 
35
+    /**
36
+     * @param string $event
37
+     * @param \Closure $condition
38
+     */
35 39
     public function once($event, callable $listener, $condition = null, int $priority = 0)
36 40
     {
37 41
         return $this->on($event, $this->getOnceCallable($this->getConditionalCallable($listener, $condition), $event), null, $priority);
Please login to merge, or discard this patch.
Module/SaslAuthenticator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@
 block discarded – undo
69 69
         return true;
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $name
74
+     */
72 75
     private function tryMechanism(Sasl $sasl, $name) {
73 76
         try {
74 77
             $mechanism = $sasl->factory($name, [
Please login to merge, or discard this patch.