From 2d27b684fba03e23ca7b1677ddb8b74bee9ae9d1 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 14 Jul 2014 00:45:54 +0000 Subject: [PATCH] Fill out inline documentation for the `__call()` magic method added to the `wp_xmlrpc_server` class in [28515]. See #22234 and #28885. git-svn-id: https://develop.svn.wordpress.org/trunk@29161 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-xmlrpc-server.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-xmlrpc-server.php b/src/wp-includes/class-wp-xmlrpc-server.php index 97783b7d41..d0946dbbc3 100644 --- a/src/wp-includes/class-wp-xmlrpc-server.php +++ b/src/wp-includes/class-wp-xmlrpc-server.php @@ -145,9 +145,11 @@ class wp_xmlrpc_server extends IXR_Server { * Make private/protected methods readable for backwards compatibility * * @since 4.0.0 - * @param string $name - * @param array $arguments - * @return mixed + * @access public + * + * @param callable $name Method to call. + * @param array $arguments Arguments to pass when calling. + * @return mixed|bool Return value of the callback, false otherwise. */ public function __call( $name, $arguments ) { return call_user_func_array( array( $this, $name ), $arguments );