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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user