Use void instead of null where appropriate when pipe-delimiting @return types. If a @return only contains void, remove it.

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32568 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-05-24 05:39:47 +00:00
parent abca40cf44
commit 39ef6a72c5
16 changed files with 32 additions and 37 deletions
+2 -2
View File
@@ -631,7 +631,7 @@ function wp_list_categories( $args = '' ) {
* @since 2.3.0
*
* @param array|string|null $args Optional. Override default arguments.
* @return null|array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
* @return void|array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument.
* Otherwise, this function outputs the tag cloud.
*/
function wp_tag_cloud( $args = '' ) {
@@ -1405,7 +1405,7 @@ function get_the_term_list( $id, $taxonomy, $before = '', $sep = '', $after = ''
* @param string $before Optional. Before list.
* @param string $sep Optional. Separate items using this.
* @param string $after Optional. After list.
* @return false|null False on WordPress error. Returns null when displaying.
* @return false|void False on WordPress error.
*/
function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) {
$term_list = get_the_term_list( $id, $taxonomy, $before, $sep, $after );