From e07cad68bf5281277577b1b7fa3cc4bf77dfec2b Mon Sep 17 00:00:00 2001 From: Jens Schulze Date: Thu, 6 Aug 2015 16:50:09 +0200 Subject: [PATCH] feat(Products): add support to set EnumType and LocalizedEnumType attributes by key in all variants --- .../Command/ProductSetAttributeInAllVariantsAction.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Request/Products/Command/ProductSetAttributeInAllVariantsAction.php b/src/Request/Products/Command/ProductSetAttributeInAllVariantsAction.php index 01cbe9e91f..ee45c488fb 100644 --- a/src/Request/Products/Command/ProductSetAttributeInAllVariantsAction.php +++ b/src/Request/Products/Command/ProductSetAttributeInAllVariantsAction.php @@ -15,8 +15,8 @@ * @method ProductSetAttributeInAllVariantsAction setAction(string $action = null) * @method string getName() * @method ProductSetAttributeInAllVariantsAction setName(string $name = null) - * @method string getValue() - * @method ProductSetAttributeInAllVariantsAction setValue(string $value = null) + * @method getValue() + * @method ProductSetAttributeInAllVariantsAction setValue($value = null) * @method bool getStaged() * @method ProductSetAttributeInAllVariantsAction setStaged(bool $staged = null) */ @@ -27,7 +27,7 @@ public function getFields() return [ 'action' => [static::TYPE => 'string'], 'name' => [static::TYPE => 'string'], - 'value' => [static::TYPE => 'string'], + 'value' => [], 'staged' => [static::TYPE => 'bool'], ]; }