From 94d5e7b3881fd27ebdf4e2cae64418332df8e637 Mon Sep 17 00:00:00 2001 From: "Drew Jaynes (DrewAPicture)" Date: Mon, 14 Jul 2014 00:47:36 +0000 Subject: [PATCH] Fill out inline documentation for the `__call()` magic method added to the `WP_Comment_Query` class in [28519]. See #22234 and #28885. git-svn-id: https://develop.svn.wordpress.org/trunk@29162 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/comment.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/comment.php b/src/wp-includes/comment.php index 33a6121fd2..622e83196b 100644 --- a/src/wp-includes/comment.php +++ b/src/wp-includes/comment.php @@ -224,9 +224,11 @@ class WP_Comment_Query { * 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 );