Completed
Push — GearmanClient ( 413f25 )
by Vasily
04:10
created
PHPDaemon/Clients/GearmanClient/Connection.php 1 patch
Doc Comments   +1 added lines, -8 removed lines patch added patch discarded remove patch
@@ -145,7 +145,6 @@  discard block
 block discarded – undo
145 145
      *
146 146
      * @param $function_name
147 147
      * @param $payload
148
-     * @param null $context
149 148
      * @param null $unique
150 149
      */
151 150
     public function runJob($function_name, $payload, $unique = null) {
@@ -165,7 +164,6 @@  discard block
 block discarded – undo
165 164
      *
166 165
      * @param $function_name
167 166
      * @param $payload
168
-     * @param null $context
169 167
      * @param null $unique
170 168
      */
171 169
     public function doNormal($function_name, $payload, $unique = null) {
@@ -183,7 +181,6 @@  discard block
 block discarded – undo
183 181
      *
184 182
      * @param $function_name
185 183
      * @param $payload
186
-     * @param null $context
187 184
      * @param null $unique
188 185
      */
189 186
     public function doBackground($function_name, $payload, $unique = null) {
@@ -201,7 +198,6 @@  discard block
 block discarded – undo
201 198
      *
202 199
      * @param $function_name
203 200
      * @param $payload
204
-     * @param null $context
205 201
      * @param null $unique
206 202
      */
207 203
     public function doHigh($function_name, $payload, $unique = null) {
@@ -219,7 +215,6 @@  discard block
 block discarded – undo
219 215
      *
220 216
      * @param $function_name
221 217
      * @param $payload
222
-     * @param null $context
223 218
      * @param null $unique
224 219
      */
225 220
     public function doHighBackground($function_name, $payload, $unique = null) {
@@ -237,7 +232,6 @@  discard block
 block discarded – undo
237 232
      *
238 233
      * @param $function_name
239 234
      * @param $payload
240
-     * @param null $context
241 235
      * @param null $unique
242 236
      */
243 237
     public function doLow($function_name, $payload, $unique = null) {
@@ -255,7 +249,6 @@  discard block
 block discarded – undo
255 249
      *
256 250
      * @param $function_name
257 251
      * @param $payload
258
-     * @param null $context
259 252
      * @param null $unique
260 253
      */
261 254
     public function doLowBackground($function_name, $payload, $unique = null) {
@@ -298,7 +291,7 @@  discard block
 block discarded – undo
298 291
     /**
299 292
      * Low level commands sender
300 293
      *
301
-     * @param $commandName
294
+     * @param string $commandName
302 295
      * @param $payload
303 296
      * @param callable|null $doneCallback
304 297
      */
Please login to merge, or discard this patch.
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/HTTP/Pool.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@  discard block
 block discarded – undo
34 34
      * Performs GET-request
35 35
      * @param string   $url
36 36
      * @param array    $params
37
-     * @param callable $resultcb
38 37
      * @call  ( url $url, array $params )
39 38
      * @call  ( url $url, callable $resultcb )
40 39
      * @callback $resultcb ( Connection $conn, boolean $success )
@@ -70,7 +69,6 @@  discard block
 block discarded – undo
70 69
      * @param string   $url
71 70
      * @param array    $data
72 71
      * @param array    $params
73
-     * @param callable $resultcb
74 72
      * @call  ( url $url, array $data, array $params )
75 73
      * @call  ( url $url, array $data, callable $resultcb )
76 74
      * @callback $resultcb ( Connection $conn, boolean $success )
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.