@@ -19,9 +19,8 @@ |
||
| 19 | 19 | use Sylius\Component\Order\CartActions; |
| 20 | 20 | use Sylius\Component\Order\Context\CartContextInterface; |
| 21 | 21 | use Sylius\Component\Order\Model\OrderInterface; |
| 22 | -use Sylius\Component\Order\Modifier\OrderModifierInterface; |
|
| 23 | 22 | use Sylius\Component\Order\Modifier\OrderItemQuantityModifierInterface; |
| 24 | -use Sylius\Component\Resource\ResourceActions; |
|
| 23 | +use Sylius\Component\Order\Modifier\OrderModifierInterface; |
|
| 25 | 24 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
| 26 | 25 | use Symfony\Component\HttpFoundation\RedirectResponse; |
| 27 | 26 | use Symfony\Component\HttpFoundation\Request; |
@@ -14,7 +14,6 @@ |
||
| 14 | 14 | use Behat\Mink\Driver\Selenium2Driver; |
| 15 | 15 | use Behat\Mink\Element\NodeElement; |
| 16 | 16 | use Behat\Mink\Exception\ElementNotFoundException; |
| 17 | -use Behat\Mink\Exception\UnsupportedDriverActionException; |
|
| 18 | 17 | use Sylius\Behat\Behaviour\SpecifiesItsCode; |
| 19 | 18 | use Sylius\Behat\Page\Admin\Crud\CreatePage as BaseCreatePage; |
| 20 | 19 | use Sylius\Component\Core\Model\TaxonInterface; |
@@ -55,11 +55,13 @@ discard block |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * @param ProductVariantImageInterface $image |
| 58 | + * @return void |
|
| 58 | 59 | */ |
| 59 | 60 | public function addImage(ProductVariantImageInterface $image); |
| 60 | 61 | |
| 61 | 62 | /** |
| 62 | 63 | * @param ProductVariantImageInterface $image |
| 64 | + * @return void |
|
| 63 | 65 | */ |
| 64 | 66 | public function removeImage(ProductVariantImageInterface $image); |
| 65 | 67 | |
@@ -70,6 +72,7 @@ discard block |
||
| 70 | 72 | |
| 71 | 73 | /** |
| 72 | 74 | * @param int $sold |
| 75 | + * @return void |
|
| 73 | 76 | */ |
| 74 | 77 | public function setSold($sold); |
| 75 | 78 | |
@@ -80,6 +83,7 @@ discard block |
||
| 80 | 83 | |
| 81 | 84 | /** |
| 82 | 85 | * @param float $weight |
| 86 | + * @return void |
|
| 83 | 87 | */ |
| 84 | 88 | public function setWeight($weight); |
| 85 | 89 | |
@@ -90,6 +94,7 @@ discard block |
||
| 90 | 94 | |
| 91 | 95 | /** |
| 92 | 96 | * @param float $width |
| 97 | + * @return void |
|
| 93 | 98 | */ |
| 94 | 99 | public function setWidth($width); |
| 95 | 100 | |
@@ -100,6 +105,7 @@ discard block |
||
| 100 | 105 | |
| 101 | 106 | /** |
| 102 | 107 | * @param float $height |
| 108 | + * @return void |
|
| 103 | 109 | */ |
| 104 | 110 | public function setHeight($height); |
| 105 | 111 | |
@@ -110,6 +116,7 @@ discard block |
||
| 110 | 116 | |
| 111 | 117 | /** |
| 112 | 118 | * @param float $depth |
| 119 | + * @return void |
|
| 113 | 120 | */ |
| 114 | 121 | public function setDepth($depth); |
| 115 | 122 | |
@@ -120,6 +127,7 @@ discard block |
||
| 120 | 127 | |
| 121 | 128 | /** |
| 122 | 129 | * @param int|null $originalPrice |
| 130 | + * @return void |
|
| 123 | 131 | */ |
| 124 | 132 | public function setOriginalPrice($originalPrice); |
| 125 | 133 | |
@@ -130,6 +138,7 @@ discard block |
||
| 130 | 138 | |
| 131 | 139 | /** |
| 132 | 140 | * @param TaxCategoryInterface $category |
| 141 | + * @return void |
|
| 133 | 142 | */ |
| 134 | 143 | public function setTaxCategory(TaxCategoryInterface $category = null); |
| 135 | 144 | } |
@@ -314,6 +314,7 @@ discard block |
||
| 314 | 314 | |
| 315 | 315 | /** |
| 316 | 316 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/ |
| 317 | + * @param integer $discount |
|
| 317 | 318 | */ |
| 318 | 319 | public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount) |
| 319 | 320 | { |
@@ -634,7 +635,7 @@ discard block |
||
| 634 | 635 | } |
| 635 | 636 | |
| 636 | 637 | /** |
| 637 | - * @param array $taxonCodes |
|
| 638 | + * @param string[] $taxonCodes |
|
| 638 | 639 | * |
| 639 | 640 | * @return array |
| 640 | 641 | */ |
@@ -644,7 +645,7 @@ discard block |
||
| 644 | 645 | } |
| 645 | 646 | |
| 646 | 647 | /** |
| 647 | - * @param array $productCodes |
|
| 648 | + * @param string[] $productCodes |
|
| 648 | 649 | * |
| 649 | 650 | * @return array |
| 650 | 651 | */ |