Completed
Pull Request — master (#229)
by Дмитрий
04:18
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   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 	 * @param string $haystack
11 11
 	 * @param mixed $needle
12 12
 	 * @param int $offset
13
-	 * @return bool|int
13
+	 * @return integer
14 14
 	 */
15 15
 	function mb_orig_strpos($haystack, $needle, $offset = 0)
16 16
 	{
@@ -38,11 +38,18 @@  discard block
 block discarded – undo
38 38
 		return serialize($m);
39 39
 	}
40 40
 
41
+	/**
42
+	 * @param string $m
43
+	 */
41 44
 	function igbinary_unserialize($m) {
42 45
 		return unserialize($m);
43 46
 	}
44 47
 }
45 48
 if (!function_exists('setTimeout')) {
49
+
50
+	/**
51
+	 * @param Closure $cb
52
+	 */
46 53
 	function setTimeout($cb, $timeout = null, $id = null, $priority = null) {
47 54
 		return \PHPDaemon\Core\Timer::add($cb, $timeout, $id, $priority);
48 55
 	}
Please login to merge, or discard this patch.