From 5a82c6a7baa3eaf4eea690e778c708e2b127993d Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Thu, 7 Sep 2023 08:24:40 -0600 Subject: [PATCH] Update src/FieldType/Taxonomy.php --- src/FieldType/Taxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FieldType/Taxonomy.php b/src/FieldType/Taxonomy.php index 17f6442..25a190a 100644 --- a/src/FieldType/Taxonomy.php +++ b/src/FieldType/Taxonomy.php @@ -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 ) ) {