Skip to content

Commit

Permalink
Generate static typename for element metadata key value pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
cornedor authored and mattamon committed Oct 2, 2024
1 parent 4d18220 commit e55bd44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class ElementMetadataKeyValuePairInputType extends InputObjectType
*/
public function __construct($config = [])
{
$config['name'] = 'element_metadata_item_' . uniqid();
$config['name'] = 'element_metadata_item_key_value_pair_input';
$this->build($config);
parent::__construct($config);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class ElementMetadataKeyValuePairType extends ObjectType
*/
public function __construct($config = [])
{
$config['name'] = 'element_metadata_item_' . uniqid();
$config['name'] = 'element_metadata_item_key_value_pair';
$this->build($config);
parent::__construct($config);
}
Expand Down

0 comments on commit e55bd44

Please sign in to comment.