Completed
Pull Request — master (#257)
by Дмитрий
03:56
created
PHPDaemon/BoundSocket/Generic.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -451,6 +451,7 @@
 block discarded – undo
451 451
      * Checks if the CIDR-mask matches the IP
452 452
      * @param string CIDR-mask
453 453
      * @param string IP
454
+     * @param string $IP
454 455
      * @return boolean Result
455 456
      */
456 457
     public static function netMatch($CIDR, $IP)
Please login to merge, or discard this patch.
PHPDaemon/Clients/IRC/ChannelParticipant.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
 
133 133
     /**
134 134
      * @TODO DESCR
135
-     * @param  array|string $mask
135
+     * @param  string $mask
136 136
      * @return $this
137 137
      */
138 138
     public function setUsermask($mask)
Please login to merge, or discard this patch.
PHPDaemon/Clients/IRC/Connection.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 
156 156
     /**
157 157
      * @TODO DESCR
158
-     * @param array $channels
158
+     * @param string $channels
159 159
      */
160 160
     public function join($channels)
161 161
     {
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
 
170 170
     /**
171 171
      * @TODO DESCR
172
-     * @param array $channels
172
+     * @param string $channels
173 173
      * @param mixed $msg
174 174
      */
175 175
     public function part($channels, $msg = null)
Please login to merge, or discard this patch.
PHPDaemon/Clients/Mongo/Cursor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * Key
122
-     * @return string
122
+     * @return integer
123 123
      */
124 124
     public function key()
125 125
     {
Please login to merge, or discard this patch.
PHPDaemon/Clients/Mongo/Pool.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
      * @param  boolean  $reply  Is an answer expected?
187 187
      * @param  callable $sentcb Sent callback
188 188
      * @callback $sentcb ( )
189
-     * @return callable
189
+     * @return \Closure
190 190
      */
191 191
     protected function requestCbProducer($opcode, $data, $reply = false, $sentcb = null)
192 192
     {
@@ -1493,6 +1493,9 @@  discard block
 block discarded – undo
1493 1493
         }, $session['conn']);
1494 1494
     }
1495 1495
 
1496
+    /**
1497
+     * @param \Closure $cb
1498
+     */
1496 1499
     public function sasl_scrum_sha1_conversation($dbname, $query, $cb, $conn = null)
1497 1500
     {
1498 1501
         if ($this->safeMode) {
Please login to merge, or discard this patch.
PHPDaemon/Clients/PostgreSQL/Connection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -330,7 +330,7 @@
 block discarded – undo
330 330
      * Send echo-request
331 331
      * @param  callable $callback Optional. Callback called when response received
332 332
      * @callback $callback ( )
333
-     * @return boolean Success
333
+     * @return boolean|null Success
334 334
      */
335 335
     public function ping($callback = null)
336 336
     {
Please login to merge, or discard this patch.
PHPDaemon/Clients/Redis/Examples/Simple.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * Creates Request.
43 43
      * @param $req object Request.
44 44
      * @param $upstream IRequestUpstream Upstream application instance.
45
-     * @return ExampleWithRedisRequest Request.
45
+     * @return SimpleRequest Request.
46 46
      */
47 47
     public function beginRequest($req, $upstream)
48 48
     {
Please login to merge, or discard this patch.
PHPDaemon/Clients/Redis/Lock.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * @TODO
39 39
      * @param  integer $timeout
40
-     * @return this
40
+     * @return Lock
41 41
      */
42 42
     public function timeout($timeout)
43 43
     {
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * @TODO
50 50
      * @param  callable $cb
51 51
      * @callback $cb ( )
52
-     * @return this
52
+     * @return Lock
53 53
      */
54 54
     public function acquire($cb)
55 55
     {
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      * @TODO
67 67
      * @param  callable $cb
68 68
      * @callback $cb ( )
69
-     * @return this
69
+     * @return Lock
70 70
      */
71 71
     public function release($cb = null)
72 72
     {
Please login to merge, or discard this patch.
PHPDaemon/Clients/Redis/Pool.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,6 @@
 block discarded – undo
98 98
      * Magic __call
99 99
      * Example:
100 100
      * $redis->lpush('mylist', microtime(true));
101
-     * @param  string $name Command name
102 101
      * @param  array  $args Arguments
103 102
      * @return void
104 103
      */
Please login to merge, or discard this patch.