@@ -198,6 +198,7 @@ |
||
| 198 | 198 | |
| 199 | 199 | /** |
| 200 | 200 | * @Given /^(this product) is(?:| also) priced at ("[^"]+") in ("[^"]+" channel)$/ |
| 201 | + * @param integer $price |
|
| 201 | 202 | */ |
| 202 | 203 | public function thisProductIsAlsoPricedAtInChannel(ProductInterface $product, $price, ChannelInterface $channel) |
| 203 | 204 | { |
@@ -462,8 +462,7 @@ |
||
| 462 | 462 | if (!$this->hasNotEmptyAttributeByCodeAndLocale($attributeValue->getCode(), $localeCode)) { |
| 463 | 463 | if ( |
| 464 | 464 | null !== $fallbackLocaleCode && |
| 465 | - $this->hasNotEmptyAttributeByCodeAndLocale($attributeValue->getCode(), $fallbackLocaleCode)) |
|
| 466 | - { |
|
| 465 | + $this->hasNotEmptyAttributeByCodeAndLocale($attributeValue->getCode(), $fallbackLocaleCode)) { |
|
| 467 | 466 | return $this->getAttributeByCodeAndLocale($attributeValue->getCode(), $fallbackLocaleCode); |
| 468 | 467 | } |
| 469 | 468 | |