Skip to content

Commit 8f7c6bc

Browse files
Docs: Correct the type for WP_Screen::$_screen_settings.
This reflects the property's initial `null` state prior to initialization. Follow-up to [55693], [61300]. Props Chouby, arkaprabhachowdhury, SergeyBiryukov. Fixes #56607. git-svn-id: https://develop.svn.wordpress.org/trunk@62837 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 4f0a5c7 commit 8f7c6bc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-admin/includes/class-wp-screen.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ final class WP_Screen {
8989
* have a `$parent_base` of 'edit'.
9090
*
9191
* @since 3.3.0
92-
* @var string|null
92+
* @var ?string
9393
*/
9494
public $parent_base;
9595

@@ -99,7 +99,7 @@ final class WP_Screen {
9999
* Some `$parent_file` values are 'edit.php?post_type=page', 'edit.php', and 'options-general.php'.
100100
*
101101
* @since 3.3.0
102-
* @var string|null
102+
* @var ?string
103103
*/
104104
public $parent_file;
105105

@@ -186,7 +186,7 @@ final class WP_Screen {
186186
* Stores the 'screen_settings' section of screen options.
187187
*
188188
* @since 3.3.0
189-
* @var string
189+
* @var ?string
190190
*/
191191
private $_screen_settings;
192192

0 commit comments

Comments
 (0)