@@ -70,17 +70,20 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * @param string $productName |
| 73 | + * @return void |
|
| 73 | 74 | */ |
| 74 | 75 | public function removeProduct($productName); |
| 75 | 76 | |
| 76 | 77 | /** |
| 77 | 78 | * @param string $productName |
| 78 | 79 | * @param int $quantity |
| 80 | + * @return void |
|
| 79 | 81 | */ |
| 80 | 82 | public function changeQuantity($productName, $quantity); |
| 81 | 83 | |
| 82 | 84 | /** |
| 83 | 85 | * @param string $couponCode |
| 86 | + * @return void |
|
| 84 | 87 | */ |
| 85 | 88 | public function applyCoupon($couponCode); |
| 86 | 89 | |
@@ -143,12 +146,19 @@ discard block |
||
| 143 | 146 | */ |
| 144 | 147 | public function getCartTotal(); |
| 145 | 148 | |
| 149 | + /** |
|
| 150 | + * @return void |
|
| 151 | + */ |
|
| 146 | 152 | public function clearCart(); |
| 147 | 153 | |
| 154 | + /** |
|
| 155 | + * @return void |
|
| 156 | + */ |
|
| 148 | 157 | public function updateCart(); |
| 149 | 158 | |
| 150 | 159 | /** |
| 151 | 160 | * @param int $timeout |
| 161 | + * @return void |
|
| 152 | 162 | */ |
| 153 | 163 | public function waitForRedirect($timeout); |
| 154 | 164 | |
@@ -75,6 +75,7 @@ discard block |
||
| 75 | 75 | |
| 76 | 76 | /** |
| 77 | 77 | * @param string $notes |
| 78 | + * @return void |
|
| 78 | 79 | */ |
| 79 | 80 | public function addNotes($notes); |
| 80 | 81 | |
@@ -135,12 +136,24 @@ discard block |
||
| 135 | 136 | */ |
| 136 | 137 | public function hasProductOutOfStockValidationMessage(ProductInterface $product); |
| 137 | 138 | |
| 139 | + /** |
|
| 140 | + * @return void |
|
| 141 | + */ |
|
| 138 | 142 | public function changeAddress(); |
| 139 | 143 | |
| 144 | + /** |
|
| 145 | + * @return void |
|
| 146 | + */ |
|
| 140 | 147 | public function changeShippingMethod(); |
| 141 | 148 | |
| 149 | + /** |
|
| 150 | + * @return void |
|
| 151 | + */ |
|
| 142 | 152 | public function changePaymentMethod(); |
| 143 | 153 | |
| 154 | + /** |
|
| 155 | + * @return void |
|
| 156 | + */ |
|
| 144 | 157 | public function confirmOrder(); |
| 145 | 158 | |
| 146 | 159 | /** |
@@ -20,6 +20,7 @@ discard block |
||
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | 22 | * @param string $paymentMethod |
| 23 | + * @return void |
|
| 23 | 24 | */ |
| 24 | 25 | public function selectPaymentMethod($paymentMethod); |
| 25 | 26 | |
@@ -37,12 +38,24 @@ discard block |
||
| 37 | 38 | */ |
| 38 | 39 | public function getItemSubtotal($itemName); |
| 39 | 40 | |
| 41 | + /** |
|
| 42 | + * @return void |
|
| 43 | + */ |
|
| 40 | 44 | public function nextStep(); |
| 41 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 42 | 49 | public function changeShippingMethod(); |
| 43 | 50 | |
| 51 | + /** |
|
| 52 | + * @return void |
|
| 53 | + */ |
|
| 44 | 54 | public function changeShippingMethodByStepLabel(); |
| 45 | 55 | |
| 56 | + /** |
|
| 57 | + * @return void |
|
| 58 | + */ |
|
| 46 | 59 | public function changeAddressByStepLabel(); |
| 47 | 60 | |
| 48 | 61 | /** |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | /** |
| 46 | 46 | * Gets customer based on currently logged user. |
| 47 | 47 | * |
| 48 | - * @return CustomerInterface|null |
|
| 48 | + * @return null|\Sylius\Component\Customer\Model\CustomerInterface |
|
| 49 | 49 | */ |
| 50 | 50 | public function getCustomer() |
| 51 | 51 | { |
@@ -101,6 +101,9 @@ |
||
| 101 | 101 | return $webDirectory; |
| 102 | 102 | } |
| 103 | 103 | |
| 104 | + /** |
|
| 105 | + * @param string $webDirectory |
|
| 106 | + */ |
|
| 104 | 107 | private function assertFileContent($lines, $webDirectory) |
| 105 | 108 | { |
| 106 | 109 | foreach ($lines as $line) { |
@@ -104,7 +104,7 @@ |
||
| 104 | 104 | } |
| 105 | 105 | |
| 106 | 106 | /** |
| 107 | - * @param TemplateReferenceInterface|string $template |
|
| 107 | + * @param string $template |
|
| 108 | 108 | * |
| 109 | 109 | * @return string |
| 110 | 110 | */ |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @return array |
|
| 56 | + * @return Action[] |
|
| 57 | 57 | */ |
| 58 | 58 | public function getActions() |
| 59 | 59 | { |
@@ -27,6 +27,7 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -27,6 +27,7 @@ discard block |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param int|null $usageLimit |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setUsageLimit($usageLimit); |
| 32 | 33 | |
@@ -37,11 +38,18 @@ discard block |
||
| 37 | 38 | |
| 38 | 39 | /** |
| 39 | 40 | * @param int $used |
| 41 | + * @return void |
|
| 40 | 42 | */ |
| 41 | 43 | public function setUsed($used); |
| 42 | 44 | |
| 45 | + /** |
|
| 46 | + * @return void |
|
| 47 | + */ |
|
| 43 | 48 | public function incrementUsed(); |
| 44 | 49 | |
| 50 | + /** |
|
| 51 | + * @return void |
|
| 52 | + */ |
|
| 45 | 53 | public function decrementUsed(); |
| 46 | 54 | |
| 47 | 55 | /** |
@@ -51,6 +59,7 @@ discard block |
||
| 51 | 59 | |
| 52 | 60 | /** |
| 53 | 61 | * @param PromotionInterface $promotion |
| 62 | + * @return void |
|
| 54 | 63 | */ |
| 55 | 64 | public function setPromotion(PromotionInterface $promotion = null); |
| 56 | 65 | |
@@ -61,6 +70,7 @@ discard block |
||
| 61 | 70 | |
| 62 | 71 | /** |
| 63 | 72 | * @param \DateTime $expiresAt |
| 73 | + * @return void |
|
| 64 | 74 | */ |
| 65 | 75 | public function setExpiresAt(\DateTime $expiresAt = null); |
| 66 | 76 | |