@@ -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 | |
@@ -25,22 +25,26 @@ discard block |
||
| 25 | 25 | /** |
| 26 | 26 | * @param string $channelName |
| 27 | 27 | * @param int $price |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function specifyPrice($channelName, $price); |
| 30 | 31 | |
| 31 | 32 | /** |
| 32 | 33 | * @param string $channelName |
| 33 | 34 | * @param int $originalPrice |
| 35 | + * @return void |
|
| 34 | 36 | */ |
| 35 | 37 | public function specifyOriginalPrice($channelName, $originalPrice); |
| 36 | 38 | |
| 37 | 39 | /** |
| 38 | 40 | * @param string $name |
| 41 | + * @return void |
|
| 39 | 42 | */ |
| 40 | 43 | public function choosePricingCalculator($name); |
| 41 | 44 | |
| 42 | 45 | /** |
| 43 | 46 | * @param string $channelName |
| 47 | + * @return void |
|
| 44 | 48 | */ |
| 45 | 49 | public function checkChannel($channelName); |
| 46 | 50 | |
@@ -48,23 +52,27 @@ discard block |
||
| 48 | 52 | * @param int $price |
| 49 | 53 | * @param ChannelInterface $channel |
| 50 | 54 | * @param CurrencyInterface $currency |
| 55 | + * @return void |
|
| 51 | 56 | */ |
| 52 | 57 | public function specifyPriceForChannelAndCurrency($price, ChannelInterface $channel, CurrencyInterface $currency); |
| 53 | 58 | |
| 54 | 59 | /** |
| 55 | 60 | * @param string $code |
| 61 | + * @return void |
|
| 56 | 62 | */ |
| 57 | 63 | public function specifyCode($code); |
| 58 | 64 | |
| 59 | 65 | /** |
| 60 | 66 | * @param string $name |
| 61 | 67 | * @param string $localeCode |
| 68 | + * @return void |
|
| 62 | 69 | */ |
| 63 | 70 | public function nameItIn($name, $localeCode); |
| 64 | 71 | |
| 65 | 72 | /** |
| 66 | 73 | * @param string $slug |
| 67 | 74 | * @param string $locale |
| 75 | + * @return void |
|
| 68 | 76 | */ |
| 69 | 77 | public function specifySlugIn($slug, $locale); |
| 70 | 78 | |
@@ -72,45 +80,53 @@ discard block |
||
| 72 | 80 | * @param string $attributeName |
| 73 | 81 | * @param string $value |
| 74 | 82 | * @param string $localeCode |
| 83 | + * @return void |
|
| 75 | 84 | */ |
| 76 | 85 | public function addAttribute($attributeName, $value, $localeCode); |
| 77 | 86 | |
| 78 | 87 | /** |
| 79 | 88 | * @param string $attributeName |
| 80 | 89 | * @param string $localeCode |
| 90 | + * @return void |
|
| 81 | 91 | */ |
| 82 | 92 | public function removeAttribute($attributeName, $localeCode); |
| 83 | 93 | |
| 84 | 94 | /** |
| 85 | 95 | * @param string $path |
| 86 | 96 | * @param string $type |
| 97 | + * @return void |
|
| 87 | 98 | */ |
| 88 | 99 | public function attachImage($path, $type = null); |
| 89 | 100 | |
| 90 | 101 | /** |
| 91 | 102 | * @param ProductAssociationTypeInterface $productAssociationType |
| 92 | 103 | * @param string[] $productsNames |
| 104 | + * @return void |
|
| 93 | 105 | */ |
| 94 | 106 | public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames); |
| 95 | 107 | |
| 96 | 108 | /** |
| 97 | 109 | * @param string $productName |
| 98 | 110 | * @param ProductAssociationTypeInterface $productAssociationType |
| 111 | + * @return void |
|
| 99 | 112 | */ |
| 100 | 113 | public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType); |
| 101 | 114 | |
| 102 | 115 | /** |
| 103 | 116 | * @param string $locale |
| 117 | + * @return void |
|
| 104 | 118 | */ |
| 105 | 119 | public function activateLanguageTab($locale); |
| 106 | 120 | |
| 107 | 121 | /** |
| 108 | 122 | * @param string $shippingCategoryName |
| 123 | + * @return void |
|
| 109 | 124 | */ |
| 110 | 125 | public function selectShippingCategory($shippingCategoryName); |
| 111 | 126 | |
| 112 | 127 | /** |
| 113 | 128 | * @param bool $isShippingRequired |
| 129 | + * @return void |
|
| 114 | 130 | */ |
| 115 | 131 | public function setShippingRequired($isShippingRequired); |
| 116 | 132 | } |
@@ -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 | { |
@@ -154,7 +154,7 @@ discard block |
||
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | /** |
| 157 | - * @param $name |
|
| 157 | + * @param string $name |
|
| 158 | 158 | * |
| 159 | 159 | * @return string |
| 160 | 160 | */ |
@@ -168,7 +168,7 @@ discard block |
||
| 168 | 168 | /** |
| 169 | 169 | * @param string $name |
| 170 | 170 | * |
| 171 | - * @return mixed|string|null |
|
| 171 | + * @return string |
|
| 172 | 172 | */ |
| 173 | 173 | public function getRedirectRoute($name) |
| 174 | 174 | { |
@@ -228,7 +228,7 @@ discard block |
||
| 228 | 228 | } |
| 229 | 229 | |
| 230 | 230 | /** |
| 231 | - * @param object|null $resource |
|
| 231 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
| 232 | 232 | * |
| 233 | 233 | * @return array |
| 234 | 234 | */ |
@@ -475,7 +475,7 @@ discard block |
||
| 475 | 475 | } |
| 476 | 476 | |
| 477 | 477 | /** |
| 478 | - * @return mixed|null |
|
| 478 | + * @return string |
|
| 479 | 479 | */ |
| 480 | 480 | public function getSerializationVersion() |
| 481 | 481 | { |
@@ -43,6 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @param AddressInterface|null $address |
| 46 | + * @return void |
|
| 46 | 47 | */ |
| 47 | 48 | public function setShippingAddress(?AddressInterface $address): void; |
| 48 | 49 | |
@@ -53,6 +54,7 @@ discard block |
||
| 53 | 54 | |
| 54 | 55 | /** |
| 55 | 56 | * @param AddressInterface|null $address |
| 57 | + * @return void |
|
| 56 | 58 | */ |
| 57 | 59 | public function setBillingAddress(?AddressInterface $address): void; |
| 58 | 60 | |
@@ -63,6 +65,7 @@ discard block |
||
| 63 | 65 | |
| 64 | 66 | /** |
| 65 | 67 | * @param string|null $checkoutState |
| 68 | + * @return void |
|
| 66 | 69 | */ |
| 67 | 70 | public function setCheckoutState(?string $checkoutState): void; |
| 68 | 71 | |
@@ -73,6 +76,7 @@ discard block |
||
| 73 | 76 | |
| 74 | 77 | /** |
| 75 | 78 | * @param string|null $paymentState |
| 79 | + * @return void |
|
| 76 | 80 | */ |
| 77 | 81 | public function setPaymentState(?string $paymentState): void; |
| 78 | 82 | |
@@ -105,14 +109,19 @@ discard block |
||
| 105 | 109 | |
| 106 | 110 | /** |
| 107 | 111 | * @param ShipmentInterface $shipment |
| 112 | + * @return void |
|
| 108 | 113 | */ |
| 109 | 114 | public function addShipment(ShipmentInterface $shipment): void; |
| 110 | 115 | |
| 111 | 116 | /** |
| 112 | 117 | * @param ShipmentInterface $shipment |
| 118 | + * @return void |
|
| 113 | 119 | */ |
| 114 | 120 | public function removeShipment(ShipmentInterface $shipment): void; |
| 115 | 121 | |
| 122 | + /** |
|
| 123 | + * @return void |
|
| 124 | + */ |
|
| 116 | 125 | public function removeShipments(): void; |
| 117 | 126 | |
| 118 | 127 | /** |
@@ -129,6 +138,7 @@ discard block |
||
| 129 | 138 | |
| 130 | 139 | /** |
| 131 | 140 | * @param string|null $currencyCode |
| 141 | + * @return void |
|
| 132 | 142 | */ |
| 133 | 143 | public function setCurrencyCode(?string $currencyCode): void; |
| 134 | 144 | |
@@ -139,11 +149,13 @@ discard block |
||
| 139 | 149 | |
| 140 | 150 | /** |
| 141 | 151 | * @param string|null $localeCode |
| 152 | + * @return void |
|
| 142 | 153 | */ |
| 143 | 154 | public function setLocaleCode(?string $localeCode): void; |
| 144 | 155 | |
| 145 | 156 | /** |
| 146 | 157 | * @param BaseCouponInterface|null $coupon |
| 158 | + * @return void |
|
| 147 | 159 | */ |
| 148 | 160 | public function setPromotionCoupon(?BaseCouponInterface $coupon): void; |
| 149 | 161 | |
@@ -154,6 +166,7 @@ discard block |
||
| 154 | 166 | |
| 155 | 167 | /** |
| 156 | 168 | * @param string|null $state |
| 169 | + * @return void |
|
| 157 | 170 | */ |
| 158 | 171 | public function setShippingState(?string $state): void; |
| 159 | 172 | |
@@ -186,6 +199,7 @@ discard block |
||
| 186 | 199 | |
| 187 | 200 | /** |
| 188 | 201 | * @param string|null $tokenValue |
| 202 | + * @return void |
|
| 189 | 203 | */ |
| 190 | 204 | public function setTokenValue(?string $tokenValue): void; |
| 191 | 205 | |
@@ -196,6 +210,7 @@ discard block |
||
| 196 | 210 | |
| 197 | 211 | /** |
| 198 | 212 | * @param string|null $customerIp |
| 213 | + * @return void |
|
| 199 | 214 | */ |
| 200 | 215 | public function setCustomerIp(?string $customerIp): void; |
| 201 | 216 | } |
@@ -24,6 +24,7 @@ discard block |
||
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | 26 | * @param ProductInterface|null $product |
| 27 | + * @return void |
|
| 27 | 28 | */ |
| 28 | 29 | public function setProduct(?ProductInterface $product): void; |
| 29 | 30 | |
@@ -34,6 +35,7 @@ discard block |
||
| 34 | 35 | |
| 35 | 36 | /** |
| 36 | 37 | * @param TaxonInterface|null $taxon |
| 38 | + * @return void |
|
| 37 | 39 | */ |
| 38 | 40 | public function setTaxon(?TaxonInterface $taxon): void; |
| 39 | 41 | |
@@ -44,6 +46,7 @@ discard block |
||
| 44 | 46 | |
| 45 | 47 | /** |
| 46 | 48 | * @param int|null $position |
| 49 | + * @return void |
|
| 47 | 50 | */ |
| 48 | 51 | public function setPosition(?int $position): void; |
| 49 | 52 | } |
@@ -31,6 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @param \DateTimeInterface|null $checkoutCompletedAt |
| 34 | + * @return void |
|
| 34 | 35 | */ |
| 35 | 36 | public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void; |
| 36 | 37 | |
@@ -39,6 +40,9 @@ discard block |
||
| 39 | 40 | */ |
| 40 | 41 | public function isCheckoutCompleted(): bool; |
| 41 | 42 | |
| 43 | + /** |
|
| 44 | + * @return void |
|
| 45 | + */ |
|
| 42 | 46 | public function completeCheckout(): void; |
| 43 | 47 | |
| 44 | 48 | /** |
@@ -48,6 +52,7 @@ discard block |
||
| 48 | 52 | |
| 49 | 53 | /** |
| 50 | 54 | * @param string|null $number |
| 55 | + * @return void |
|
| 51 | 56 | */ |
| 52 | 57 | public function setNumber(?string $number): void; |
| 53 | 58 | |
@@ -58,6 +63,7 @@ discard block |
||
| 58 | 63 | |
| 59 | 64 | /** |
| 60 | 65 | * @param string|null $notes |
| 66 | + * @return void |
|
| 61 | 67 | */ |
| 62 | 68 | public function setNotes(?string $notes): void; |
| 63 | 69 | |
@@ -66,6 +72,9 @@ discard block |
||
| 66 | 72 | */ |
| 67 | 73 | public function getItems(): Collection; |
| 68 | 74 | |
| 75 | + /** |
|
| 76 | + * @return void |
|
| 77 | + */ |
|
| 69 | 78 | public function clearItems(): void; |
| 70 | 79 | |
| 71 | 80 | /** |
@@ -75,11 +84,13 @@ discard block |
||
| 75 | 84 | |
| 76 | 85 | /** |
| 77 | 86 | * @param OrderItemInterface $item |
| 87 | + * @return void |
|
| 78 | 88 | */ |
| 79 | 89 | public function addItem(OrderItemInterface $item): void; |
| 80 | 90 | |
| 81 | 91 | /** |
| 82 | 92 | * @param OrderItemInterface $item |
| 93 | + * @return void |
|
| 83 | 94 | */ |
| 84 | 95 | public function removeItem(OrderItemInterface $item): void; |
| 85 | 96 | |
@@ -95,6 +106,9 @@ discard block |
||
| 95 | 106 | */ |
| 96 | 107 | public function getItemsTotal(): int; |
| 97 | 108 | |
| 109 | + /** |
|
| 110 | + * @return void |
|
| 111 | + */ |
|
| 98 | 112 | public function recalculateItemsTotal(): void; |
| 99 | 113 | |
| 100 | 114 | /** |
@@ -114,6 +128,7 @@ discard block |
||
| 114 | 128 | |
| 115 | 129 | /** |
| 116 | 130 | * @param string $state |
| 131 | + * @return void |
|
| 117 | 132 | */ |
| 118 | 133 | public function setState(string $state): void; |
| 119 | 134 | |
@@ -138,6 +153,7 @@ discard block |
||
| 138 | 153 | |
| 139 | 154 | /** |
| 140 | 155 | * @param string|null $type |
| 156 | + * @return void |
|
| 141 | 157 | */ |
| 142 | 158 | public function removeAdjustmentsRecursively(?string $type = null): void; |
| 143 | 159 | } |
@@ -35,6 +35,7 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @param PaymentMethodInterface|null $method |
| 38 | + * @return void |
|
| 38 | 39 | */ |
| 39 | 40 | public function setMethod(?PaymentMethodInterface $method): void; |
| 40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
| 45 | 46 | |
| 46 | 47 | /** |
| 47 | 48 | * @param string $state |
| 49 | + * @return void |
|
| 48 | 50 | */ |
| 49 | 51 | public function setState(string $state): void; |
| 50 | 52 | |
@@ -55,6 +57,7 @@ discard block |
||
| 55 | 57 | |
| 56 | 58 | /** |
| 57 | 59 | * @param string $currencyCode |
| 60 | + * @return void |
|
| 58 | 61 | */ |
| 59 | 62 | public function setCurrencyCode(string $currencyCode): void; |
| 60 | 63 | |
@@ -65,6 +68,7 @@ discard block |
||
| 65 | 68 | |
| 66 | 69 | /** |
| 67 | 70 | * @param int $amount |
| 71 | + * @return void |
|
| 68 | 72 | */ |
| 69 | 73 | public function setAmount(int $amount): void; |
| 70 | 74 | |
@@ -75,6 +79,7 @@ discard block |
||
| 75 | 79 | |
| 76 | 80 | /** |
| 77 | 81 | * @param array $details |
| 82 | + * @return void |
|
| 78 | 83 | */ |
| 79 | 84 | public function setDetails(array $details): void; |
| 80 | 85 | } |