diff --git a/wp-includes/class-wp-theme-json-schema.php b/wp-includes/class-wp-theme-json-schema.php index 2e35a12c2b..63c45005bc 100644 --- a/wp-includes/class-wp-theme-json-schema.php +++ b/wp-includes/class-wp-theme-json-schema.php @@ -138,8 +138,6 @@ class WP_Theme_JSON_Schema { * * @param array $settings Reference to the current settings array. * @param array $path Path to the property to be removed. - * - * @return void */ private static function unset_setting_by_path( &$settings, $path ) { $tmp_settings = &$settings; // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable diff --git a/wp-includes/html-api/class-wp-html-tag-processor.php b/wp-includes/html-api/class-wp-html-tag-processor.php index f06302d4b7..96f1c28c8c 100644 --- a/wp-includes/html-api/class-wp-html-tag-processor.php +++ b/wp-includes/html-api/class-wp-html-tag-processor.php @@ -1258,8 +1258,6 @@ class WP_HTML_Tag_Processor { * Move the internal cursor past any immediate successive whitespace. * * @since 6.2.0 - * - * @return void */ private function skip_whitespace() { $this->bytes_already_parsed += strspn( $this->html, " \t\f\r\n", $this->bytes_already_parsed ); @@ -1269,8 +1267,6 @@ class WP_HTML_Tag_Processor { * Applies attribute updates and cleans up once a tag is fully parsed. * * @since 6.2.0 - * - * @return void */ private function after_tag() { $this->get_updated_html(); @@ -1289,8 +1285,6 @@ class WP_HTML_Tag_Processor { * * @see WP_HTML_Tag_Processor::$lexical_updates * @see WP_HTML_Tag_Processor::$classname_updates - * - * @return void */ private function class_name_updates_to_attributes_updates() { if ( count( $this->classname_updates ) === 0 ) { @@ -2183,7 +2177,6 @@ class WP_HTML_Tag_Processor { * @type string|null $class_name Tag must contain this class name to match. * @type string $tag_closers "visit" or "skip": whether to stop on tag closers, e.g. . * } - * @return void */ private function parse_query( $query ) { if ( null !== $query && $query === $this->last_query ) { diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php index 9d463cd9e4..1ea2fc4faa 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php @@ -34,8 +34,6 @@ class WP_REST_Global_Styles_Controller extends WP_REST_Controller { * Registers the controllers routes. * * @since 5.9.0 - * - * @return void */ public function register_routes() { register_rest_route( diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 74b347ec67..14dbb2db15 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -3021,8 +3021,6 @@ function wp_enqueue_block_support_styles( $style, $priority = 10 ) { * @type bool $optimize Whether to optimize the CSS output, e.g., combine rules. Default is `false`. * @type bool $prettify Whether to add new lines and indents to output. Default is the test of whether the global constant `SCRIPT_DEBUG` is defined. * } - * - * @return void */ function wp_enqueue_stored_styles( $options = array() ) { $is_block_theme = wp_is_block_theme(); diff --git a/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php b/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php index 55141977a1..d5d6bc0bfe 100644 --- a/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php +++ b/wp-includes/style-engine/class-wp-style-engine-css-rules-store.php @@ -80,8 +80,6 @@ class WP_Style_Engine_CSS_Rules_Store { * Clears all stores from static::$stores. * * @since 6.1.0 - * - * @return void */ public static function remove_all_stores() { static::$stores = array(); @@ -93,7 +91,6 @@ class WP_Style_Engine_CSS_Rules_Store { * @since 6.1.0 * * @param string $name The store name. - * @return void */ public function set_name( $name ) { $this->name = $name; @@ -152,7 +149,6 @@ class WP_Style_Engine_CSS_Rules_Store { * @since 6.1.0 * * @param string $selector The CSS selector. - * @return void */ public function remove_rule( $selector ) { unset( $this->rules[ $selector ] ); diff --git a/wp-includes/style-engine/class-wp-style-engine-processor.php b/wp-includes/style-engine/class-wp-style-engine-processor.php index 5274648fc3..db86650e2d 100644 --- a/wp-includes/style-engine/class-wp-style-engine-processor.php +++ b/wp-includes/style-engine/class-wp-style-engine-processor.php @@ -126,8 +126,6 @@ class WP_Style_Engine_Processor { * Combines selectors from the rules store when they have the same styles. * * @since 6.1.0 - * - * @return void */ private function combine_rules_selectors() { // Build an array of selectors along with the JSON-ified styles to make comparisons easier. diff --git a/wp-includes/style-engine/class-wp-style-engine.php b/wp-includes/style-engine/class-wp-style-engine.php index 57dbd97a90..7858ea1e55 100644 --- a/wp-includes/style-engine/class-wp-style-engine.php +++ b/wp-includes/style-engine/class-wp-style-engine.php @@ -288,7 +288,6 @@ final class WP_Style_Engine { * @param string $store_name A valid store key. * @param string $css_selector When a selector is passed, the function will return a full CSS rule `$selector { ...rules }`, otherwise a concatenated string of properties and values. * @param string[] $css_declarations An associative array of CSS definitions, e.g., `array( "$property" => "$value", "$property" => "$value" )`. - * @return void */ public static function store_css_rule( $store_name, $css_selector, $css_declarations ) { if ( empty( $store_name ) || empty( $css_selector ) || empty( $css_declarations ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index a506272067..fd280cb8ce 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55724'; +$wp_version = '6.3-alpha-55725'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.