Add a proper return description for the `wp_xmlrpc_server->addTwoNumbers()` method.

See [30181]. See #30224.

Built from https://develop.svn.wordpress.org/trunk@32557


git-svn-id: http://core.svn.wordpress.org/trunk@32527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2015-05-23 19:26:26 +00:00
parent 7a93dda2d2
commit ed0421e7de
2 changed files with 5 additions and 5 deletions

View File

@ -188,7 +188,7 @@ class wp_xmlrpc_server extends IXR_Server {
*
* @since 1.5.0
*
* @return string
* @return string Hello string response.
*/
public function sayHello() {
return 'Hello!';
@ -202,10 +202,10 @@ class wp_xmlrpc_server extends IXR_Server {
* @param array $args {
* Method parameters.
*
* @type int $number1 A number to add.
* @type int $number2 A second number to add.
* @type int $number1 A number to add.
* @type int $number2 A second number to add.
* }
* @return int
* @return int Sum of the two given numbers.
*/
public function addTwoNumbers( $args ) {
$number1 = $args[0];

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32556';
$wp_version = '4.3-alpha-32557';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.