@@ -108,7 +108,7 @@ |
||
108 | 108 | |
109 | 109 | /** |
110 | 110 | * @param string $cmd Command |
111 | - * @return integer |
|
111 | + * @return string |
|
112 | 112 | */ |
113 | 113 | public static function getCodeByCommand($cmd) |
114 | 114 | { |
@@ -108,7 +108,7 @@ |
||
108 | 108 | |
109 | 109 | /** |
110 | 110 | * @param string $cmd Command |
111 | - * @return integer |
|
111 | + * @return string |
|
112 | 112 | */ |
113 | 113 | public static function getCodeByCommand($cmd) |
114 | 114 | { |
@@ -474,6 +474,7 @@ discard block |
||
474 | 474 | /** |
475 | 475 | * Check file syntax via runkit_lint_file if supported or via php -l |
476 | 476 | * @param string File name |
477 | + * @param string $filename |
|
477 | 478 | * @return boolean |
478 | 479 | */ |
479 | 480 | public static function lintFile($filename) |
@@ -672,6 +673,7 @@ discard block |
||
672 | 673 | * Send message to the log |
673 | 674 | * |
674 | 675 | * @param array ...$args |
676 | + * @param string $args |
|
675 | 677 | */ |
676 | 678 | public static function log(...$args) |
677 | 679 | { |
@@ -89,9 +89,8 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -260,8 +260,8 @@ |
||
260 | 260 | |
261 | 261 | /** |
262 | 262 | * Override a standard PHP function |
263 | - * @param string $local e.g. isUploadedFile |
|
264 | 263 | * @param string $real e.g. is_uploaded_file |
264 | + * @param string $camelCase |
|
265 | 265 | */ |
266 | 266 | protected function override($camelCase, $real) |
267 | 267 | { |