Completed
Push — master ( 4d827b...354721 )
by Vasily
02:08
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/Cache/CappedStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
     /**
55 55
      * Hash function
56 56
      * @param  string $key Key
57
-     * @return integer
57
+     * @return string
58 58
      */
59 59
     public function hash($key)
60 60
     {
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/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/Core/CallbackWrapper.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -81,6 +81,9 @@
 block discarded – undo
81 81
         }
82 82
     }
83 83
 
84
+    /**
85
+     * @param null|callable $cb
86
+     */
84 87
     public static function addToArray(&$arr, $cb)
85 88
     {
86 89
         if ($arr === null) {
Please login to merge, or discard this patch.