Completed
Push — master ( 867724...e578f3 )
by Vasily
06:19
created
PHPDaemon/DNode/DNode.php 1 patch
Doc Comments   +5 added lines, -7 removed lines patch added patch discarded remove patch
@@ -85,9 +85,8 @@  discard block
 block discarded – undo
85 85
 
86 86
 	/**
87 87
 	 * Calls a local method
88
-	 * @param  string $method  Method name
89 88
 	 * @param  mixed  ...$args Arguments
90
-	 * @return this
89
+	 * @return DNode
91 90
 	 */
92 91
 	public function callLocal() {
93 92
 		$args = func_get_args();
@@ -170,9 +169,8 @@  discard block
 block discarded – undo
170 169
 
171 170
 	/**
172 171
 	 * Calls a remote method
173
-	 * @param  string $method  Method name
174 172
 	 * @param  mixed  ...$args Arguments
175
-	 * @return this
173
+	 * @return DNode
176 174
 	 */
177 175
 	public function callRemote() {
178 176
 		$args = func_get_args();
@@ -188,7 +186,7 @@  discard block
 block discarded – undo
188 186
 	 * Calls a remote method with array of arguments
189 187
 	 * @param  string $method Method name
190 188
 	 * @param  array  $args   Arguments
191
-	 * @return this
189
+	 * @return DNode
192 190
 	 */
193 191
 	public function callRemoteArray($method, $args) {
194 192
 		if (isset($this->remoteMethods[$method])) {
@@ -223,7 +221,7 @@  discard block
 block discarded – undo
223 221
 	/**
224 222
 	 * Encodes value into JSON
225 223
 	 * @param  mixed $m Value
226
-	 * @return this
224
+	 * @return string
227 225
 	 */
228 226
 	public static function toJson($m) {
229 227
 		return json_encode($m, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
@@ -258,7 +256,7 @@  discard block
 block discarded – undo
258 256
 	/**
259 257
 	 * Encodes value into JSON for debugging purposes
260 258
 	 * @param mixed $m Data
261
-	 * @return void
259
+	 * @return string
262 260
 	 */
263 261
 	public static function toJsonDebug($m) {
264 262
 		static::toJsonDebugResursive($m);
Please login to merge, or discard this patch.