Docs: Fix the types for some properties and parameters that use the generic object type.

See #50768


git-svn-id: https://develop.svn.wordpress.org/trunk@49119 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2020-10-10 19:12:04 +00:00
parent 4f3c9c1f30
commit 6917c731f8
5 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@ class Plugin_Upgrader_Skin extends WP_Upgrader_Skin {
*
* @since 2.8.0
*
* @var object
* @var string
*/
public $plugin = '';

View File

@ -22,7 +22,7 @@ class Theme_Upgrader_Skin extends WP_Upgrader_Skin {
*
* @since 2.8.0
*
* @var object
* @var string
*/
public $theme = '';

View File

@ -43,7 +43,7 @@ class WP_List_Table {
* The current screen.
*
* @since 3.1.0
* @var object
* @var WP_Screen
*/
protected $screen;
@ -1092,7 +1092,7 @@ class WP_List_Table {
* Filters the list table sortable columns for a specific screen.
*
* The dynamic portion of the hook name, `$this->screen->id`, refers
* to the ID of the current screen, usually a string.
* to the ID of the current screen.
*
* @since 3.1.0
*

View File

@ -20,7 +20,7 @@ class WP_Upgrader_Skin {
*
* @since 2.8.0
*
* @var object
* @var WP_Upgrader
*/
public $upgrader;

View File

@ -63,7 +63,7 @@ class WP_Query {
* Holds the contents of a post, page, category, attachment.
*
* @since 1.5.0
* @var object|array
* @var WP_Term|WP_Post_Type|WP_Post|WP_User|null
*/
public $queried_object;
@ -3457,7 +3457,7 @@ class WP_Query {
*
* @since 1.5.0
*
* @return object
* @return WP_Term|WP_Post_Type|WP_Post|WP_User|null The queried object.
*/
public function get_queried_object() {
if ( isset( $this->queried_object ) ) {