Improve @return documentation for WP_Comment_Query::get_comments().

Props barryceelen.
Fixes #36896.
Built from https://develop.svn.wordpress.org/trunk@37482


git-svn-id: http://core.svn.wordpress.org/trunk@37450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges
2016-05-22 16:21:27 +00:00
parent 4428a031a3
commit e79d2a1bad
2 changed files with 2 additions and 2 deletions

View File

@@ -361,7 +361,7 @@ class WP_Comment_Query {
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @return int|array The list of comments.
* @return int|array List of comments or number of found comments if `$count` argument is true.
*/
public function get_comments() {
global $wpdb;