@@ -19,6 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @param string $name |
21 | 21 | * @param string $value |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function setCookie($name, $value); |
24 | 25 | } |
@@ -151,6 +151,9 @@ |
||
151 | 151 | $this->validate($address, $constraint); |
152 | 152 | } |
153 | 153 | |
154 | + /** |
|
155 | + * @param string $propertyPath |
|
156 | + */ |
|
154 | 157 | private function createViolation($propertyPath) |
155 | 158 | { |
156 | 159 | return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue'); |
@@ -35,8 +35,12 @@ |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $serviceId |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function unmockService($serviceId); |
40 | 41 | |
42 | + /** |
|
43 | + * @return void |
|
44 | + */ |
|
41 | 45 | public function unmockAll(); |
42 | 46 | } |
@@ -130,6 +130,8 @@ |
||
130 | 130 | /** |
131 | 131 | * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment |
132 | 132 | * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment |
133 | + * @param string $shippingMethodName |
|
134 | + * @param string $paymentMethodName |
|
133 | 135 | */ |
134 | 136 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName) |
135 | 137 | { |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $name |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setName(?string $name): void; |
32 | 33 | } |
@@ -14,7 +14,6 @@ |
||
14 | 14 | namespace Sylius\Bundle\CoreBundle\Collector; |
15 | 15 | |
16 | 16 | use Sylius\Bundle\CoreBundle\Application\Kernel; |
17 | -use Sylius\Component\Channel\Context\ChannelNotFoundException; |
|
18 | 17 | use Sylius\Component\Core\Context\ShopperContextInterface; |
19 | 18 | use Sylius\Component\Core\Model\ChannelInterface; |
20 | 19 | use Sylius\Component\Currency\Context\CurrencyNotFoundException; |
@@ -6,11 +6,20 @@ |
||
6 | 6 | |
7 | 7 | interface ResolveNextRouteInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return string |
|
11 | + */ |
|
9 | 12 | public function getRouteName(): ?string; |
10 | 13 | |
14 | + /** |
|
15 | + * @return void |
|
16 | + */ |
|
11 | 17 | public function setRouteName(string $routeName): void; |
12 | 18 | |
13 | 19 | public function getRouteParameters(): array; |
14 | 20 | |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
15 | 24 | public function setRouteParameters(array $parameters): void; |
16 | 25 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
15 | 15 | |
16 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
17 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
17 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
18 | 18 | |
19 | 19 | interface ReviewableRatingUpdaterInterface |
20 | 20 | { |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface ReviewableRatingUpdaterInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function update(ReviewableInterface $reviewSubject): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function updateFromReview(ReviewInterface $review): void; |
24 | 30 | } |
@@ -19,8 +19,8 @@ |
||
19 | 19 | use Sylius\Component\Resource\Model\VersionedInterface; |
20 | 20 | use Sylius\Component\Shipping\Model\ShippableInterface; |
21 | 21 | use Sylius\Component\Shipping\Model\ShippingCategoryInterface; |
22 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
23 | 22 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
23 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
24 | 24 | |
25 | 25 | interface ProductVariantInterface extends |
26 | 26 | BaseVariantInterface, |
@@ -30,24 +30,66 @@ discard block |
||
30 | 30 | VersionedInterface, |
31 | 31 | ProductImagesAwareInterface |
32 | 32 | { |
33 | + /** |
|
34 | + * @return double |
|
35 | + */ |
|
33 | 36 | public function getWeight(): ?float; |
34 | 37 | |
38 | + /** |
|
39 | + * @param double $weight |
|
40 | + * |
|
41 | + * @return void |
|
42 | + */ |
|
35 | 43 | public function setWeight(?float $weight): void; |
36 | 44 | |
45 | + /** |
|
46 | + * @return double |
|
47 | + */ |
|
37 | 48 | public function getWidth(): ?float; |
38 | 49 | |
50 | + /** |
|
51 | + * @param double $width |
|
52 | + * |
|
53 | + * @return void |
|
54 | + */ |
|
39 | 55 | public function setWidth(?float $width): void; |
40 | 56 | |
57 | + /** |
|
58 | + * @return double |
|
59 | + */ |
|
41 | 60 | public function getHeight(): ?float; |
42 | 61 | |
62 | + /** |
|
63 | + * @param double $height |
|
64 | + * |
|
65 | + * @return void |
|
66 | + */ |
|
43 | 67 | public function setHeight(?float $height): void; |
44 | 68 | |
69 | + /** |
|
70 | + * @return double |
|
71 | + */ |
|
45 | 72 | public function getDepth(): ?float; |
46 | 73 | |
74 | + /** |
|
75 | + * @param double $depth |
|
76 | + * |
|
77 | + * @return void |
|
78 | + */ |
|
47 | 79 | public function setDepth(?float $depth): void; |
48 | 80 | |
81 | + /** |
|
82 | + * @param TaxCategoryInterface $category |
|
83 | + * |
|
84 | + * @return void |
|
85 | + */ |
|
49 | 86 | public function setTaxCategory(?TaxCategoryInterface $category): void; |
50 | 87 | |
88 | + /** |
|
89 | + * @param ShippingCategoryInterface $shippingCategory |
|
90 | + * |
|
91 | + * @return void |
|
92 | + */ |
|
51 | 93 | public function setShippingCategory(?ShippingCategoryInterface $shippingCategory): void; |
52 | 94 | |
53 | 95 | /** |
@@ -61,11 +103,20 @@ discard block |
||
61 | 103 | |
62 | 104 | public function hasChannelPricing(ChannelPricingInterface $channelPricing): bool; |
63 | 105 | |
106 | + /** |
|
107 | + * @return void |
|
108 | + */ |
|
64 | 109 | public function addChannelPricing(ChannelPricingInterface $channelPricing): void; |
65 | 110 | |
111 | + /** |
|
112 | + * @return void |
|
113 | + */ |
|
66 | 114 | public function removeChannelPricing(ChannelPricingInterface $channelPricing): void; |
67 | 115 | |
68 | 116 | public function isShippingRequired(): bool; |
69 | 117 | |
118 | + /** |
|
119 | + * @return void |
|
120 | + */ |
|
70 | 121 | public function setShippingRequired(bool $shippingRequired): void; |
71 | 122 | } |