Skip to content

Commit dd7987a

Browse files
Apply suggestions from code review
Co-authored-by: Samuel Gomis <gomis.samuel@gmail.com>
1 parent a8a2641 commit dd7987a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/Api/AssetManager/AssetAttributeOptionApi.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ public function upsert(string $assetFamilyCode, string $attributeCode, string $a
5252
);
5353
}
5454

55+
/**
56+
* {@inheritdoc}
57+
*/
5558
public function upsertAsync(
5659
string $assetFamilyCode,
5760
string $attributeCode,

src/Api/AttributeOptionApi.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,17 @@ public function upsertList($attributeCode, $attributeOptions): \Traversable
9494
return $this->resourceClient->upsertStreamResourceList(static::ATTRIBUTE_OPTIONS_URI, [$attributeCode], $attributeOptions);
9595
}
9696

97+
/**
98+
* {@inheritdoc}
99+
*/
97100
public function upsertAsyncList($attributeCode, $attributeOptions): PromiseInterface|Promise
98101
{
99102
return $this->resourceClient->upsertAsyncStreamResourceList(static::ATTRIBUTE_OPTIONS_URI, [$attributeCode], $attributeOptions);
100103
}
101104

105+
/**
106+
* {@inheritdoc}
107+
*/
102108
public function upsertAsync($attributeCode, $attributeOptionCode, array $data = []): PromiseInterface|Promise
103109
{
104110
return $this->resourceClient->upsertAsyncResource(static::ATTRIBUTE_OPTION_URI, [$attributeCode, $attributeOptionCode], $data);

0 commit comments

Comments
 (0)