@@ -267,6 +267,7 @@ discard block |
||
| 267 | 267 | |
| 268 | 268 | /** |
| 269 | 269 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/ |
| 270 | + * @param integer $discount |
|
| 270 | 271 | */ |
| 271 | 272 | public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount) |
| 272 | 273 | { |
@@ -580,7 +581,7 @@ discard block |
||
| 580 | 581 | } |
| 581 | 582 | |
| 582 | 583 | /** |
| 583 | - * @param array $taxonCodes |
|
| 584 | + * @param string[] $taxonCodes |
|
| 584 | 585 | * |
| 585 | 586 | * @return array |
| 586 | 587 | */ |
@@ -590,7 +591,7 @@ discard block |
||
| 590 | 591 | } |
| 591 | 592 | |
| 592 | 593 | /** |
| 593 | - * @param array $productCodes |
|
| 594 | + * @param string[] $productCodes |
|
| 594 | 595 | * |
| 595 | 596 | * @return array |
| 596 | 597 | */ |
@@ -619,6 +620,7 @@ discard block |
||
| 619 | 620 | * @param PromotionInterface $promotion |
| 620 | 621 | * @param int $discount |
| 621 | 622 | * @param array $configuration |
| 623 | + * @param PromotionRuleInterface $rule |
|
| 622 | 624 | */ |
| 623 | 625 | private function createUnitFixedPromotion(PromotionInterface $promotion, $discount, array $configuration = [], $rule = null) |
| 624 | 626 | { |
@@ -629,6 +631,7 @@ discard block |
||
| 629 | 631 | * @param PromotionInterface $promotion |
| 630 | 632 | * @param int $discount |
| 631 | 633 | * @param array $configuration |
| 634 | + * @param PromotionRuleInterface $rule |
|
| 632 | 635 | */ |
| 633 | 636 | private function createUnitPercentagePromotion(PromotionInterface $promotion, $discount, array $configuration = [], $rule = null) |
| 634 | 637 | { |