mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value. Constructors do not have meaningful return values, anything that is returned from here is discarded.
See #30799. git-svn-id: https://develop.svn.wordpress.org/trunk@31126 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -41,8 +41,6 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* or replace XMLRPC methods.
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @return wp_xmlrpc_server
|
||||
*/
|
||||
public function __construct() {
|
||||
$this->methods = array(
|
||||
@@ -3096,7 +3094,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @param array $args. Contains:
|
||||
* @param array $args Contains:
|
||||
* - blog_id (unused)
|
||||
* - username
|
||||
* - password
|
||||
|
||||
Reference in New Issue
Block a user