@@ -39,6 +39,7 @@ discard block |
||
| 39 | 39 | * Sets all option values. |
| 40 | 40 | * |
| 41 | 41 | * @param Collection $optionValues |
| 42 | + * @return void |
|
| 42 | 43 | */ |
| 43 | 44 | public function setValues(Collection $optionValues); |
| 44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
| 46 | 47 | * Adds option value. |
| 47 | 48 | * |
| 48 | 49 | * @param OptionValueInterface $optionValue |
| 50 | + * @return void |
|
| 49 | 51 | */ |
| 50 | 52 | public function addValue(OptionValueInterface $optionValue); |
| 51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
| 53 | 55 | * Removes option value. |
| 54 | 56 | * |
| 55 | 57 | * @param OptionValueInterface $optionValue |
| 58 | + * @return void |
|
| 56 | 59 | */ |
| 57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
| 58 | 61 | |
@@ -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 | |
@@ -28,6 +28,7 @@ discard block |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param string $name |
| 31 | + * @return void |
|
| 31 | 32 | */ |
| 32 | 33 | public function setName($name); |
| 33 | 34 | |
@@ -38,6 +39,7 @@ discard block |
||
| 38 | 39 | |
| 39 | 40 | /** |
| 40 | 41 | * @param string $description |
| 42 | + * @return void |
|
| 41 | 43 | */ |
| 42 | 44 | public function setDescription($description); |
| 43 | 45 | |
@@ -48,6 +50,7 @@ discard block |
||
| 48 | 50 | |
| 49 | 51 | /** |
| 50 | 52 | * @param int $priority |
| 53 | + * @return void |
|
| 51 | 54 | */ |
| 52 | 55 | public function setPriority($priority); |
| 53 | 56 | |
@@ -58,6 +61,7 @@ discard block |
||
| 58 | 61 | |
| 59 | 62 | /** |
| 60 | 63 | * @param bool $exclusive |
| 64 | + * @return void |
|
| 61 | 65 | */ |
| 62 | 66 | public function setExclusive($exclusive); |
| 63 | 67 | |
@@ -68,6 +72,7 @@ discard block |
||
| 68 | 72 | |
| 69 | 73 | /** |
| 70 | 74 | * @param int $usageLimit |
| 75 | + * @return void |
|
| 71 | 76 | */ |
| 72 | 77 | public function setUsageLimit($usageLimit); |
| 73 | 78 | |
@@ -78,11 +83,18 @@ discard block |
||
| 78 | 83 | |
| 79 | 84 | /** |
| 80 | 85 | * @param int $used |
| 86 | + * @return void |
|
| 81 | 87 | */ |
| 82 | 88 | public function setUsed($used); |
| 83 | 89 | |
| 90 | + /** |
|
| 91 | + * @return void |
|
| 92 | + */ |
|
| 84 | 93 | public function incrementUsed(); |
| 85 | 94 | |
| 95 | + /** |
|
| 96 | + * @return void |
|
| 97 | + */ |
|
| 86 | 98 | public function decrementUsed(); |
| 87 | 99 | |
| 88 | 100 | /** |
@@ -92,6 +104,7 @@ discard block |
||
| 92 | 104 | |
| 93 | 105 | /** |
| 94 | 106 | * @param \DateTime $startsAt |
| 107 | + * @return void |
|
| 95 | 108 | */ |
| 96 | 109 | public function setStartsAt(\DateTime $startsAt = null); |
| 97 | 110 | |
@@ -102,6 +115,7 @@ discard block |
||
| 102 | 115 | |
| 103 | 116 | /** |
| 104 | 117 | * @param \DateTime $endsAt |
| 118 | + * @return void |
|
| 105 | 119 | */ |
| 106 | 120 | public function setEndsAt(\DateTime $endsAt = null); |
| 107 | 121 | |
@@ -112,6 +126,7 @@ discard block |
||
| 112 | 126 | |
| 113 | 127 | /** |
| 114 | 128 | * @param bool $couponBased |
| 129 | + * @return void |
|
| 115 | 130 | */ |
| 116 | 131 | public function setCouponBased($couponBased); |
| 117 | 132 | |
@@ -134,11 +149,13 @@ discard block |
||
| 134 | 149 | |
| 135 | 150 | /** |
| 136 | 151 | * @param PromotionCouponInterface $coupon |
| 152 | + * @return void |
|
| 137 | 153 | */ |
| 138 | 154 | public function addCoupon(PromotionCouponInterface $coupon); |
| 139 | 155 | |
| 140 | 156 | /** |
| 141 | 157 | * @param PromotionCouponInterface $coupon |
| 158 | + * @return void |
|
| 142 | 159 | */ |
| 143 | 160 | public function removeCoupon(PromotionCouponInterface $coupon); |
| 144 | 161 | |
@@ -161,11 +178,13 @@ discard block |
||
| 161 | 178 | |
| 162 | 179 | /** |
| 163 | 180 | * @param PromotionRuleInterface $rule |
| 181 | + * @return void |
|
| 164 | 182 | */ |
| 165 | 183 | public function addRule(PromotionRuleInterface $rule); |
| 166 | 184 | |
| 167 | 185 | /** |
| 168 | 186 | * @param PromotionRuleInterface $rule |
| 187 | + * @return void |
|
| 169 | 188 | */ |
| 170 | 189 | public function removeRule(PromotionRuleInterface $rule); |
| 171 | 190 | |
@@ -188,11 +207,13 @@ discard block |
||
| 188 | 207 | |
| 189 | 208 | /** |
| 190 | 209 | * @param PromotionActionInterface $action |
| 210 | + * @return void |
|
| 191 | 211 | */ |
| 192 | 212 | public function addAction(PromotionActionInterface $action); |
| 193 | 213 | |
| 194 | 214 | /** |
| 195 | 215 | * @param PromotionActionInterface $action |
| 216 | + * @return void |
|
| 196 | 217 | */ |
| 197 | 218 | public function removeAction(PromotionActionInterface $action); |
| 198 | 219 | } |
@@ -39,6 +39,7 @@ discard block |
||
| 39 | 39 | * Sets all option values. |
| 40 | 40 | * |
| 41 | 41 | * @param Collection $optionValues |
| 42 | + * @return void |
|
| 42 | 43 | */ |
| 43 | 44 | public function setValues(Collection $optionValues); |
| 44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
| 46 | 47 | * Adds option value. |
| 47 | 48 | * |
| 48 | 49 | * @param OptionValueInterface $optionValue |
| 50 | + * @return void |
|
| 49 | 51 | */ |
| 50 | 52 | public function addValue(OptionValueInterface $optionValue); |
| 51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
| 53 | 55 | * Removes option value. |
| 54 | 56 | * |
| 55 | 57 | * @param OptionValueInterface $optionValue |
| 58 | + * @return void |
|
| 56 | 59 | */ |
| 57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
| 58 | 61 | |
@@ -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 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * @param string $value |
| 30 | + * @return void |
|
| 30 | 31 | */ |
| 31 | 32 | public function setValue($value); |
| 32 | 33 | } |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace spec\Sylius\Component\Core\Promotion\Filter; |
| 13 | 13 | |
| 14 | -use Doctrine\Common\Collections\Collection; |
|
| 15 | 14 | use PhpSpec\ObjectBehavior; |
| 16 | 15 | use Sylius\Component\Core\Model\OrderItemInterface; |
| 17 | 16 | use Sylius\Component\Core\Model\ProductInterface; |
@@ -31,6 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | 33 | * @param string $name |
| 34 | + * @return void |
|
| 34 | 35 | */ |
| 35 | 36 | public function setName($name); |
| 36 | 37 | |
@@ -41,6 +42,7 @@ discard block |
||
| 41 | 42 | |
| 42 | 43 | /** |
| 43 | 44 | * @param VariableInterface|null $object |
| 45 | + * @return void |
|
| 44 | 46 | */ |
| 45 | 47 | public function setObject(VariableInterface $object = null); |
| 46 | 48 | |
@@ -51,16 +53,19 @@ discard block |
||
| 51 | 53 | |
| 52 | 54 | /** |
| 53 | 55 | * @param Collection $options |
| 56 | + * @return void |
|
| 54 | 57 | */ |
| 55 | 58 | public function setOptions(Collection $options); |
| 56 | 59 | |
| 57 | 60 | /** |
| 58 | 61 | * @param OptionValueInterface $option |
| 62 | + * @return void |
|
| 59 | 63 | */ |
| 60 | 64 | public function addOption(OptionValueInterface $option); |
| 61 | 65 | |
| 62 | 66 | /** |
| 63 | 67 | * @param OptionValueInterface $option |
| 68 | + * @return void |
|
| 64 | 69 | */ |
| 65 | 70 | public function removeOption(OptionValueInterface $option); |
| 66 | 71 | |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace spec\Sylius\Component\Shipping\Checker; |
| 13 | 13 | |
| 14 | 14 | use PhpSpec\ObjectBehavior; |
| 15 | -use Sylius\Component\Registry\ServiceRegistryInterface; |
|
| 16 | 15 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityChecker; |
| 17 | 16 | use Sylius\Component\Shipping\Checker\ShippingMethodEligibilityCheckerInterface; |
| 18 | 17 | use Sylius\Component\Shipping\Model\ShippableInterface; |
@@ -26,6 +26,7 @@ discard block |
||
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * @param string $provider |
| 29 | + * @return void |
|
| 29 | 30 | */ |
| 30 | 31 | public function setProvider($provider); |
| 31 | 32 | |
@@ -36,6 +37,7 @@ discard block |
||
| 36 | 37 | |
| 37 | 38 | /** |
| 38 | 39 | * @param string $identifier |
| 40 | + * @return void |
|
| 39 | 41 | */ |
| 40 | 42 | public function setIdentifier($identifier); |
| 41 | 43 | |
@@ -46,6 +48,7 @@ discard block |
||
| 46 | 48 | |
| 47 | 49 | /** |
| 48 | 50 | * @param string $accessToken |
| 51 | + * @return void |
|
| 49 | 52 | */ |
| 50 | 53 | public function setAccessToken($accessToken); |
| 51 | 54 | |
@@ -56,6 +59,7 @@ discard block |
||
| 56 | 59 | |
| 57 | 60 | /** |
| 58 | 61 | * @param string $refreshToken |
| 62 | + * @return void |
|
| 59 | 63 | */ |
| 60 | 64 | public function setRefreshToken($refreshToken); |
| 61 | 65 | } |
@@ -52,10 +52,10 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * @return string |
| 54 | 54 | */ |
| 55 | - public function getRefreshToken(); |
|
| 55 | + public function getRefreshToken(); |
|
| 56 | 56 | |
| 57 | - /** |
|
| 58 | - * @param string $refreshToken |
|
| 59 | - */ |
|
| 60 | - public function setRefreshToken($refreshToken); |
|
| 57 | + /** |
|
| 58 | + * @param string $refreshToken |
|
| 59 | + */ |
|
| 60 | + public function setRefreshToken($refreshToken); |
|
| 61 | 61 | } |