@@ -150,8 +150,8 @@ function get_graphql_register_action() {
150150 *
151151 * Should be used at the `graphql_register_types` hook.
152152 *
153- * @param mixed| string|array< string> $interface_names Array of one or more names of the GraphQL Interfaces to apply to the GraphQL Types
154- * @param mixed| string|array< string> $type_names Array of one or more names of the GraphQL Types to apply the interfaces to.
153+ * @param string|string[] $interface_names Array of one or more names of the GraphQL Interfaces to apply to the GraphQL Types
154+ * @param string|string[] $type_names Array of one or more names of the GraphQL Types to apply the interfaces to.
155155 *
156156 * Example:
157157 * The following would register the "MyNewInterface" interface to the Post and Page type in the
@@ -819,10 +819,10 @@ function get_graphql_setting( string $option_name, $default_value = '', $section
819819
820820 /**
821821 * Filter the section fields
822- *
823- * @param array $section_fields The values of the fields stored for the section
824- * @param string $section_name The name of the section
825- * @param mixed $default_value The default value for the option being retrieved
822+
823+ * @param array<string,mixed> $section_fields The values of the fields stored for the section
824+ * @param string $section_name The name of the section
825+ * @param mixed $default_value The default value for the option being retrieved
826826 */
827827 $ section_fields = apply_filters ( 'graphql_get_setting_section_fields ' , $ section_fields , $ section_name , $ default_value );
828828
@@ -834,11 +834,11 @@ function get_graphql_setting( string $option_name, $default_value = '', $section
834834 /**
835835 * Filter the value before returning it
836836 *
837- * @param mixed $value The value of the field
838- * @param mixed $default_value The default value if there is no value set
839- * @param string $option_name The name of the option
840- * @param array $section_fields The setting values within the section
841- * @param string $section_name The name of the section the setting belongs to
837+ * @param mixed $value The value of the field
838+ * @param mixed $default_value The default value if there is no value set
839+ * @param string $option_name The name of the option
840+ * @param array<string,mixed> $section_fields The setting values within the section
841+ * @param string $section_name The name of the section the setting belongs to
842842 */
843843 return apply_filters ( 'graphql_get_setting_section_field_value ' , $ value , $ default_value , $ option_name , $ section_fields , $ section_name );
844844}
0 commit comments