Docs: Correct parameter type documentation for various __call() methods.

See #42505


git-svn-id: https://develop.svn.wordpress.org/trunk@42151 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2017-11-10 22:56:01 +00:00
parent f42f19e1c5
commit fc40dea2fd
8 changed files with 8 additions and 8 deletions

View File

@ -215,7 +215,7 @@ class WP_List_Table {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed|bool Return value of the callback, false otherwise. * @return mixed|bool Return value of the callback, false otherwise.
*/ */

View File

@ -229,7 +229,7 @@ class WP_oEmbed {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed|bool Return value of the callback, false otherwise. * @return mixed|bool Return value of the callback, false otherwise.
*/ */

View File

@ -118,7 +118,7 @@ class WP_Comment_Query {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed|false Return value of the callback, false otherwise. * @return mixed|false Return value of the callback, false otherwise.
*/ */

View File

@ -3362,7 +3362,7 @@ class WP_Query {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed|false Return value of the callback, false otherwise. * @return mixed|false Return value of the callback, false otherwise.
*/ */

View File

@ -95,7 +95,7 @@ class WP_Roles {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed|false Return value of the callback, false otherwise. * @return mixed|false Return value of the callback, false otherwise.
*/ */

View File

@ -847,7 +847,7 @@ class WP_User_Query {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed Return value of the callback, false otherwise. * @return mixed Return value of the callback, false otherwise.
*/ */

View File

@ -421,7 +421,7 @@ class WP_User {
* *
* @since 4.3.0 * @since 4.3.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return mixed|false Return value of the callback, false otherwise. * @return mixed|false Return value of the callback, false otherwise.
*/ */

View File

@ -171,7 +171,7 @@ class wp_xmlrpc_server extends IXR_Server {
* *
* @since 4.0.0 * @since 4.0.0
* *
* @param callable $name Method to call. * @param string $name Method to call.
* @param array $arguments Arguments to pass when calling. * @param array $arguments Arguments to pass when calling.
* @return array|IXR_Error|false Return value of the callback, false otherwise. * @return array|IXR_Error|false Return value of the callback, false otherwise.
*/ */