Completed
Push — master ( bf0acd...fa4add )
by Vasily
10s
created
PHPDaemon/Clients/Mongo/Cursor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 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;
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 * @param  string     $id   Cursor's ID
194 194
 	 * @param  string     $col  Collection's name
195 195
 	 * @param  Connection $conn Network connection (MongoClientConnection)
196
-	 * @return void
196
+	 * @return string
197 197
 	 */
198 198
 	public function __construct($id, $col, $conn) {
199 199
 		$this->id   = $id;
Please login to merge, or discard this patch.
PHPDaemon/Utils/func.php 1 patch
Doc Comments   +9 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@  discard block
 block discarded – undo
4 4
 	/**
5 5
 	 * @param string $s
6 6
 	 * @param int $p
7
-	 * @param int|null $l
7
+	 * @param integer $l
8 8
 	 * @return string
9 9
 	 */
10 10
 	function binarySubstr($s, $p, $l = 0xFFFFFFF) {
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 	/**
15 15
 	 * @param string $s
16 16
 	 * @param int $p
17
-	 * @param int|null $l
17
+	 * @param integer $l
18 18
 	 * @return string
19 19
 	 */
20 20
 	function binarySubstr($s, $p, $l = null) {
@@ -44,11 +44,18 @@  discard block
 block discarded – undo
44 44
 		return serialize($m);
45 45
 	}
46 46
 
47
+	/**
48
+	 * @param string $m
49
+	 */
47 50
 	function igbinary_unserialize($m) {
48 51
 		return unserialize($m);
49 52
 	}
50 53
 }
51 54
 if (!function_exists('setTimeout')) {
55
+
56
+	/**
57
+	 * @param Closure $cb
58
+	 */
52 59
 	function setTimeout($cb, $timeout = null, $id = null, $priority = null) {
53 60
 		return \PHPDaemon\Core\Timer::add($cb, $timeout, $id, $priority);
54 61
 	}
Please login to merge, or discard this patch.