mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 12:44:31 +00:00
Add @static* annotations where they are missing.
Initialize all static vars that are not, most to `null`. See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32650 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -108,6 +108,8 @@ final class WP_Customize_Widgets {
|
||||
* @since 4.2.0
|
||||
* @access protected
|
||||
*
|
||||
* @staticvar array $cache
|
||||
*
|
||||
* @param $setting_id Setting ID.
|
||||
* @return string|void Setting type.
|
||||
*/
|
||||
@@ -876,7 +878,6 @@ final class WP_Customize_Widgets {
|
||||
* Naturally order available widgets by name.
|
||||
*
|
||||
* @since 3.9.0
|
||||
* @static
|
||||
* @access protected
|
||||
*
|
||||
* @param array $widget_a The first widget to compare.
|
||||
|
||||
Reference in New Issue
Block a user