Docs: Remove @staticvar tags from core.

The tag was supported in phpDocumentor 1.x, but is no longer supported in 2.x and 3.x.

Usage of static variables is considered an internal implementation detail and has no information value for someone reading the docs.

Props alishanvr, jrf.
Fixes #50426.

git-svn-id: https://develop.svn.wordpress.org/trunk@48109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-06-20 12:38:55 +00:00
parent b28cafc333
commit cdf3431ac9
39 changed files with 2 additions and 175 deletions

View File

@@ -1151,7 +1151,6 @@ function _load_textdomain_just_in_time( $domain ) {
* @access private
*
* @see _load_textdomain_just_in_time()
* @staticvar array $available_translations
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @param bool $reset Whether to reset the internal cache. Used by the switch to locale functionality.
@@ -1180,7 +1179,6 @@ function _get_path_to_translation( $domain, $reset = false ) {
* @access private
*
* @see _get_path_to_translation()
* @staticvar array $cached_mofiles
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @return string|false The path to the translation file or false if no translation file was found.
@@ -1228,7 +1226,6 @@ function _get_path_to_translation_from_lang_dir( $domain ) {
* @since 2.8.0
*
* @global MO[] $l10n
* @staticvar NOOP_Translations $noop_translations
*
* @param string $domain Text domain. Unique identifier for retrieving translated strings.
* @return Translations|NOOP_Translations A Translations instance.