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
This commit is contained in:
Drew Jaynes (DrewAPicture) 2014-07-14 00:47:36 +00:00
parent 2d27b684fb
commit 94d5e7b388

View File

@ -224,9 +224,11 @@ class WP_Comment_Query {
* Make private/protected methods readable for backwards compatibility * Make private/protected methods readable for backwards compatibility
* *
* @since 4.0.0 * @since 4.0.0
* @param string $name * @access public
* @param array $arguments *
* @return mixed * @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 ) { public function __call( $name, $arguments ) {
return call_user_func_array( array( $this, $name ), $arguments ); return call_user_func_array( array( $this, $name ), $arguments );