Skip to content

Commit 829ca4e

Browse files
committed
- composer fix-cs
1 parent 4c6e695 commit 829ca4e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/FieldConfig.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ public function resolve_field( $root, array $args, AppContext $context, ResolveI
411411

412412
// Else check if the values are being passed down via the name
413413
if ( isset( $field_config['name'] ) && ! empty( $root[ '_' . $field_config['name'] ] ) ) {
414-
return $this->prepare_acf_field_value( $root[ '_' . $field_config['name'] ], $node, $node_id, $field_config );
414+
return $this->prepare_acf_field_value( $root[ '_' . $field_config['name'] ], $node, $node_id, $field_config );
415415
}
416416

417417
// Else check if the values are being passed down via the name
@@ -608,7 +608,7 @@ public function register_graphql_connections( array $config ): void {
608608
// Register the connection to the Field Group Type
609609
if ( defined( 'WPGRAPHQL_VERSION' ) && version_compare( WPGRAPHQL_VERSION, '1.23.0', '<=' ) ) {
610610
register_graphql_connection( $connection_config );
611-
}
611+
}
612612

613613
// Register the connection to the Field Group Fields Interface
614614
register_graphql_connection( array_merge( $connection_config, [ 'fromType' => $type_name . '_Fields' ] ) );

src/Registry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ protected function get_acf_fields( $parent_field_group ): array {
476476
// Then check database.
477477
} else {
478478
$parent_field_group_id = $parent_field_group['ID'] ?? null;
479-
$raw_fields = acf_get_raw_fields( $parent_field_group_id );
479+
$raw_fields = acf_get_raw_fields( $parent_field_group_id );
480480
foreach ( $raw_fields as $raw_field ) {
481481
$fields[] = $raw_field;
482482
}

0 commit comments

Comments
 (0)