Docs: Corrections and improvements to types used in docblocks for symbols, properties, and filters.

See #53399


git-svn-id: https://develop.svn.wordpress.org/trunk@51298 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2021-07-01 21:01:17 +00:00
parent 4d431f89d5
commit 28ea7b18cf
25 changed files with 48 additions and 52 deletions
+3 -3
View File
@@ -14,9 +14,9 @@
*
* @global string $_wp_current_template_content
*
* @param string $template Path to the template. See locate_template().
* @param string $type Sanitized filename without extension.
* @param array $templates A list of template candidates, in descending order of priority.
* @param string $template Path to the template. See locate_template().
* @param string $type Sanitized filename without extension.
* @param string[] $templates A list of template candidates, in descending order of priority.
* @return string The path to the Full Site Editing template canvas file, or the fallback PHP template.
*/
function locate_block_template( $template, $type, array $templates ) {