Completed
Pull Request — master (#220)
by
unknown
05:12
created
PHPDaemon/BoundSocket/Generic.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -439,6 +439,7 @@
 block discarded – undo
439 439
 	 * Checks if the CIDR-mask matches the IP
440 440
 	 * @param string CIDR-mask
441 441
 	 * @param string IP
442
+	 * @param string $IP
442 443
 	 * @return boolean Result
443 444
 	 */
444 445
 	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
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 	/**
52 52
 	 * Hash function
53 53
 	 * @param  string $key Key
54
-	 * @return integer
54
+	 * @return string
55 55
 	 */
56 56
 	public function hash($key) {
57 57
 		return $key;
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
@@ -32,7 +32,6 @@  discard block
 block discarded – undo
32 32
 	 * Performs GET-request
33 33
 	 * @param string   $url
34 34
 	 * @param array    $params
35
-	 * @param callable $resultcb
36 35
 	 * @call  ( url $url, array $params )
37 36
 	 * @call  ( url $url, callable $resultcb )
38 37
 	 * @callback $resultcb ( Connection $conn, boolean $success )
@@ -69,7 +68,6 @@  discard block
 block discarded – undo
69 68
 	 * @param string   $url
70 69
 	 * @param array    $data
71 70
 	 * @param array    $params
72
-	 * @param callable $resultcb
73 71
 	 * @call  ( url $url, array $data, array $params )
74 72
 	 * @call  ( url $url, array $data, callable $resultcb )
75 73
 	 * @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
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 
130 130
 	/**
131 131
 	 * @TODO DESCR
132
-	 * @param  array|string $mask
132
+	 * @param  string $mask
133 133
 	 * @return $this
134 134
 	 */
135 135
 	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
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 
154 154
 	/**
155 155
 	 * @TODO DESCR
156
-	 * @param array $channels
156
+	 * @param string $channels
157 157
 	 */
158 158
 	public function join($channels) {
159 159
 		if (!is_array($channels)) {
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
 
167 167
 	/**
168 168
 	 * @TODO DESCR
169
-	 * @param array $channels
169
+	 * @param string $channels
170 170
 	 * @param mixed $msg
171 171
 	 */
172 172
 	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
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
 
115 115
 	/**
116 116
 	 * Key
117
-	 * @return string
117
+	 * @return integer
118 118
 	 */
119 119
 	public function key() {
120 120
 		return $this->pos;
Please login to merge, or discard this patch.
PHPDaemon/Clients/Mongo/Pool.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
 	 * @param  boolean  $reply  Is an answer expected?
183 183
 	 * @param  callable $sentcb Sent callback
184 184
 	 * @callback $sentcb ( )
185
-	 * @return callable
185
+	 * @return \Closure
186 186
 	 */
187 187
 	protected function requestCbProducer($opcode, $data, $reply = false, $sentcb = null) {
188 188
 		return function ($conn) use ($opcode, $data, $reply, $sentcb) {
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
@@ -323,7 +323,7 @@
 block discarded – undo
323 323
 	 * Send echo-request
324 324
 	 * @param  callable $callback Optional. Callback called when response received
325 325
 	 * @callback $callback ( )
326
-	 * @return boolean Success
326
+	 * @return boolean|null Success
327 327
 	 */
328 328
 	public function ping($callback = NULL) {
329 329
 		// @todo There is no command for echo-request.
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
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
 	 * Creates Request.
41 41
 	 * @param $req object Request.
42 42
 	 * @param $upstream IRequestUpstream Upstream application instance.
43
-	 * @return ExampleWithRedisRequest Request.
43
+	 * @return SimpleRequest Request.
44 44
 	 */
45 45
 	public function beginRequest($req, $upstream) {
46 46
 		return new SimpleRequest($this, $upstream, $req);
Please login to merge, or discard this patch.