Completed
Pull Request — master (#229)
by Дмитрий
04:50
created
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/Utils/func.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -31,11 +31,18 @@
 block discarded – undo
31 31
 		return serialize($m);
32 32
 	}
33 33
 
34
+	/**
35
+	 * @param string $m
36
+	 */
34 37
 	function igbinary_unserialize($m) {
35 38
 		return unserialize($m);
36 39
 	}
37 40
 }
38 41
 if (!function_exists('setTimeout')) {
42
+
43
+	/**
44
+	 * @param Closure $cb
45
+	 */
39 46
 	function setTimeout($cb, $timeout = null, $id = null, $priority = null) {
40 47
 		return \PHPDaemon\Core\Timer::add($cb, $timeout, $id, $priority);
41 48
 	}
Please login to merge, or discard this patch.