Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it.
See #32444. Built from https://develop.svn.wordpress.org/trunk@32568 git-svn-id: http://core.svn.wordpress.org/trunk@32538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -291,7 +291,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
* @since 1.5.2
|
||||
*
|
||||
* @param string|array $data Escape single string or array of strings.
|
||||
* @return string|null Returns with string is passed, alters by-reference
|
||||
* @return string|void Returns with string is passed, alters by-reference
|
||||
* when array is passed.
|
||||
*/
|
||||
public function escape( &$data ) {
|
||||
|
||||
Reference in New Issue
Block a user