Skip to content

Commit

Permalink
docs: fix missing filter @param names in WP_Theme_JSON_Resolver_Gut…
Browse files Browse the repository at this point in the history
…enberg
  • Loading branch information
justlevine committed Dec 30, 2024
1 parent a28455c commit d04f51f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public static function get_core_data() {
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
* @param WP_Theme_JSON_Data_Gutenberg $instance Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data_Gutenberg( $config, 'default' ) );
static::$core = $theme_json->get_theme_json();
Expand Down Expand Up @@ -276,7 +276,7 @@ public static function get_theme_data( $deprecated = array(), $options = array()
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
* @param WP_Theme_JSON_Data_Gutenberg $instance Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data_Gutenberg( $theme_json_data, 'theme' ) );
static::$theme = $theme_json->get_theme_json();
Expand Down Expand Up @@ -411,7 +411,7 @@ public static function get_block_data() {
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
* @param WP_Theme_JSON_Data_Gutenberg $instance Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data_Gutenberg( $config, 'blocks' ) );
static::$blocks = $theme_json->get_theme_json();
Expand Down Expand Up @@ -544,7 +544,7 @@ public static function get_user_data() {
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data_Gutenberg Class to access and update the underlying data.
* @param WP_Theme_JSON_Data_Gutenberg $instance Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data_Gutenberg( $config, 'custom' ) );

Expand Down

0 comments on commit d04f51f

Please sign in to comment.