Completed
Push — master ( 32d5c7...38a92b )
by Kamil
103:05 queued 77:43
created
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -198,6 +198,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/Product.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -462,8 +462,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.