Completed
Push — class-eventloop ( 5bf25d...85cff1 )
by Vasily
06:25
created
PHPDaemon/Clients/HTTP/Pool.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,6 @@  discard block
 block discarded – undo
33 33
      * Perform a HEAD request
34 34
      * @param string $url
35 35
      * @param array $params
36
-     * @param callable $resultcb
37 36
      * @call  ( url $url, array $params )
38 37
      * @call  ( url $url, callable $resultcb )
39 38
      * @callback $resultcb ( Connection $conn, boolean $success )
@@ -69,7 +68,6 @@  discard block
 block discarded – undo
69 68
      * Perform a GET request
70 69
      * @param string $url
71 70
      * @param array $params
72
-     * @param callable $resultcb
73 71
      * @call  ( url $url, array $params )
74 72
      * @call  ( url $url, callable $resultcb )
75 73
      * @callback $resultcb ( Connection $conn, boolean $success )
@@ -105,7 +103,6 @@  discard block
 block discarded – undo
105 103
      * @param string $url
106 104
      * @param array $data
107 105
      * @param array $params
108
-     * @param callable $resultcb
109 106
      * @call  ( url $url, array $data, array $params )
110 107
      * @call  ( url $url, array $data, callable $resultcb )
111 108
      * @callback $resultcb ( Connection $conn, boolean $success )
Please login to merge, or discard this patch.
PHPDaemon/Clients/Gearman/Connection.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -210,7 +210,6 @@  discard block
 block discarded – undo
210 210
      *
211 211
      * @param $params
212 212
      * @param callable $cb = null
213
-     * @param boolean $unique
214 213
      */
215 214
     public function submitJob($params, $cb = null)
216 215
     {
@@ -262,7 +261,7 @@  discard block
 block discarded – undo
262 261
     /**
263 262
      * Send a command
264 263
      *
265
-     * @param $commandName
264
+     * @param string $commandName
266 265
      * @param $payload
267 266
      * @param callable $cb = null
268 267
      */
Please login to merge, or discard this patch.
PHPDaemon/Core/EventLoop.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         return \Event::signal($this->base, ...$args);
33 33
     }
34 34
 
35
+    /**
36
+     * @param \Closure $cb
37
+     */
35 38
     public function interrupt($cb = null) {
36 39
         if ($cb !== null) {
37 40
             $this->callbacks->push($cb);
Please login to merge, or discard this patch.
PHPDaemon/Core/AppResolver.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      * Routes incoming request to related application
119 119
      * @param  object $req Generic
120 120
      * @param  object $upstream AppInstance of Upstream
121
-     * @param  string $default App Default application name
121
+     * @param  string $defaultApp App Default application name
122 122
      * @return object Request
123 123
      */
124 124
     public function getRequest($req, $upstream, $defaultApp = null)
Please login to merge, or discard this patch.
PHPDaemon/SockJS/Session.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * __construct
82 82
      * @param Application $appInstance [@todo description]
83 83
      * @param string $id [@todo description]
84
-     * @param array $server [@todo description]
84
+     * @param string $server [@todo description]
85 85
      * @return void
86 86
      */
87 87
     public function __construct($appInstance, $id, $server)
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
 
327 327
     /**
328 328
      * sendPacket
329
-     * @param  object $pct [@todo description]
329
+     * @param  string $pct [@todo description]
330 330
      * @param  callable $cb [@todo description]
331 331
      * @callback $cb ( )
332 332
      * @return void
Please login to merge, or discard this patch.
PHPDaemon/SockJS/WebSocketRouteProxy.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * __construct
23 23
      * @param Application $sockjs
24
-     * @param object $conn
25 24
      */
26 25
     public function __construct($sockjs, $route)
27 26
     {
@@ -76,7 +75,6 @@  discard block
 block discarded – undo
76 75
 
77 76
     /**
78 77
      * onPacket
79
-     * @param string $data Frame's contents.
80 78
      * @param integer $type Frame's type.
81 79
      * @return void
82 80
      */
Please login to merge, or discard this patch.
PHPDaemon/Utils/Binary.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,6 +227,7 @@  discard block
 block discarded – undo
227 227
      * Parse quadro word (8 bytes)
228 228
      * @param  string &$p Data
229 229
      * @param  boolean $l Little endian?
230
+     * @param string|false $p
230 231
      * @return integer
231 232
      */
232 233
     public static function getQword(&$p, $l = false)
@@ -385,7 +386,7 @@  discard block
 block discarded – undo
385 386
     /**
386 387
      * Convert bytes into integer
387 388
      * @alias Binary::bytes2int
388
-     * @param  string $str Bytes
389
+     * @param  integer $str Bytes
389 390
      * @param  boolean $l Little endian? Default is false
390 391
      * @return integer
391 392
      */
Please login to merge, or discard this patch.