File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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 },
You can’t perform that action at this time.
0 commit comments