Skip to content

Commit

Permalink
Update src/FieldType/Taxonomy.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbahl authored Sep 7, 2023
1 parent 4f364c1 commit 5a82c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FieldType/Taxonomy.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static function register_field_type(): void {
'resolve' => static function ( $root, $args, AppContext $context, $info ) use ( $field_config ) {
$value = $field_config->resolve_field( $root, $args, $context, $info );

if ( empty( $value )) {
if ( empty( $value ) ) {
return null;
}
if ( is_array( $value ) ) {
Expand Down

0 comments on commit 5a82c6a

Please sign in to comment.