Docs: Correct the possible return types for WP_Dependencies::query().

See #32246


git-svn-id: https://develop.svn.wordpress.org/trunk@36713 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-02-25 21:25:47 +00:00
parent 15245415c7
commit a9a61a2764

View File

@ -342,7 +342,7 @@ class WP_Dependencies {
*
* @param string $handle Name of the item. Should be unique.
* @param string $list Property name of list array.
* @return bool Found, or object Item data.
* @return bool|_WP_Dependency Found, or object Item data.
*/
public function query( $handle, $list = 'registered' ) {
switch ( $list ) {