WordPress.org

Make WordPress Core

Changeset 32557


Ignore:
Timestamp:
05/23/2015 07:25:38 PM (6 years ago)
Author:
DrewAPicture
Message:

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

See [30181]. See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-xmlrpc-server.php

    r32556 r32557  
    189189     * @since 1.5.0
    190190     *
    191      * @return string
     191     * @return string Hello string response.
    192192     */
    193193    public function sayHello() {
     
    203203     *     Method parameters.
    204204     *
    205      *     @type int $number1  A number to add.
    206      *     @type int $number2  A second number to add.
     205     *     @type int $number1 A number to add.
     206     *     @type int $number2 A second number to add.
    207207     * }
    208      * @return int
     208     * @return int Sum of the two given numbers.
    209209     */
    210210    public function addTwoNumbers( $args ) {
Note: See TracChangeset for help on using the changeset viewer.