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:
parent
15245415c7
commit
a9a61a2764
@ -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 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user