Completed
Pull Request — master (#243)
by Дмитрий
05:05
created
PHPDaemon/DNode/DNode.php 1 patch
Doc Comments   +5 added lines, -7 removed lines patch added patch discarded remove patch
@@ -89,9 +89,8 @@  discard block
 block discarded – undo
89 89
 
90 90
     /**
91 91
      * Calls a local method
92
-     * @param  string $method Method name
93 92
      * @param  mixed ...$args Arguments
94
-     * @return this
93
+     * @return DNode
95 94
      */
96 95
     public function callLocal()
97 96
     {
@@ -177,9 +176,8 @@  discard block
 block discarded – undo
177 176
 
178 177
     /**
179 178
      * Calls a remote method
180
-     * @param  string $method Method name
181 179
      * @param  mixed ...$args Arguments
182
-     * @return this
180
+     * @return DNode
183 181
      */
184 182
     public function callRemote()
185 183
     {
@@ -196,7 +194,7 @@  discard block
 block discarded – undo
196 194
      * Calls a remote method with array of arguments
197 195
      * @param  string $method Method name
198 196
      * @param  array $args Arguments
199
-     * @return this
197
+     * @return DNode
200 198
      */
201 199
     public function callRemoteArray($method, $args)
202 200
     {
@@ -233,7 +231,7 @@  discard block
 block discarded – undo
233 231
     /**
234 232
      * Encodes value into JSON
235 233
      * @param  mixed $m Value
236
-     * @return this
234
+     * @return string
237 235
      */
238 236
     public static function toJson($m)
239 237
     {
@@ -269,7 +267,7 @@  discard block
 block discarded – undo
269 267
     /**
270 268
      * Encodes value into JSON for debugging purposes
271 269
      * @param mixed $m Data
272
-     * @return void
270
+     * @return string
273 271
      */
274 272
     public static function toJsonDebug($m)
275 273
     {
Please login to merge, or discard this patch.