Docs: Correct and improve various documented types for properties, functions, and hooks.

See #57840

Built from https://develop.svn.wordpress.org/trunk@55693


git-svn-id: http://core.svn.wordpress.org/trunk@55205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn
2023-04-27 22:29:18 +00:00
parent 4c8a5d8d28
commit cc24b047eb
9 changed files with 70 additions and 63 deletions

View File

@@ -84,7 +84,7 @@ class WP_Block_Template {
* 'custom'.
*
* @since 5.9.0
* @var string
* @var string|null
*/
public $origin;
@@ -127,7 +127,7 @@ class WP_Block_Template {
* A value of 0 means no author.
*
* @since 5.9.0
* @var int
* @var int|null
*/
public $author;
@@ -135,7 +135,7 @@ class WP_Block_Template {
* Post types.
*
* @since 5.9.0
* @var array
* @var string[]|null
*/
public $post_types;
@@ -143,7 +143,7 @@ class WP_Block_Template {
* Area.
*
* @since 5.9.0
* @var string
* @var string|null
*/
public $area;
}