Skip to content

Commit 5118f38

Browse files
committed
Fixed PHPCS.
1 parent 27b02ac commit 5118f38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

includes/Type/Scalar/Scalar.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function init(): void {
2222
// @TODO - Remove when WPGraphQL min version is 2.3.0
2323
WPGraphQLRegisterConfig::resolve_graphql_config(
2424
[
25-
'description' => fn() => __( 'Generic Object Scalar Type', 'wp-graphql-content-blocks' ),
25+
'description' => static fn () => __( 'Generic Object Scalar Type', 'wp-graphql-content-blocks' ),
2626
'serialize' => static function ( $value ) {
2727
return wp_json_encode( $value );
2828
},
@@ -34,7 +34,7 @@ public function init(): void {
3434
// @TODO - Remove when WPGraphQL min version is 2.3.0
3535
WPGraphQLRegisterConfig::resolve_graphql_config(
3636
[
37-
'description' => fn() => __( 'Generic Array Scalar Type', 'wp-graphql-content-blocks' ),
37+
'description' => static fn () => __( 'Generic Array Scalar Type', 'wp-graphql-content-blocks' ),
3838
'serialize' => static function ( $value ) {
3939
return wp_json_encode( $value );
4040
},

0 commit comments

Comments
 (0)