Completed
Push — mater ( 02259a )
by Vasily
05:33
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/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/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.
PHPDaemon/Clients/Redis/Lock.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
 	/**
36 36
 	 * @TODO
37 37
 	 * @param  integer $timeout
38
-	 * @return this
38
+	 * @return Lock
39 39
 	 */
40 40
 	public function timeout($timeout) {
41 41
 		$this->timeout = $timeout;
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * @TODO
47 47
 	 * @param  callable $cb
48 48
 	 * @callback $cb ( )
49
-	 * @return this
49
+	 * @return Lock
50 50
 	 */
51 51
 	public function acquire($cb) {
52 52
 		Crypt::randomString(16, null, function($token) use ($cb) {
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 	 * @TODO
63 63
 	 * @param  callable $cb
64 64
 	 * @callback $cb ( )
65
-	 * @return this
65
+	 * @return Lock
66 66
 	 */
67 67
 	public function release($cb = null) {		
68 68
 		$this->pool->eval('if redis.call("get",KEYS[1]) == ARGV[1] then return redis.call("del",KEYS[1]) else return 0 end',
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
@@ -80,7 +80,6 @@
 block discarded – undo
80 80
 	 * Magic __call
81 81
 	 * Example:
82 82
 	 * $redis->lpush('mylist', microtime(true));
83
-	 * @param  string $name Command name
84 83
 	 * @param  array  $args Arguments
85 84
 	 * @return void
86 85
 	 */
Please login to merge, or discard this patch.