@@ -38,11 +38,13 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param PromotionInterface $promotion |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function addPromotion(PromotionInterface $promotion); |
43 | 44 | |
44 | 45 | /** |
45 | 46 | * @param PromotionInterface $promotion |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function removePromotion(PromotionInterface $promotion); |
48 | 50 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Promotion\Model; |
15 | 15 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param PromotionSubjectInterface $subject |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function process(PromotionSubjectInterface $subject); |
25 | 26 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Promotion\Processor; |
15 | 15 |
@@ -28,11 +28,13 @@ discard block |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param ReviewInterface $review |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function addReview(ReviewInterface $review); |
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param ReviewInterface $review |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function removeReview(ReviewInterface $review); |
38 | 40 | |
@@ -43,6 +45,7 @@ discard block |
||
43 | 45 | |
44 | 46 | /** |
45 | 47 | * @param float $averageRating |
48 | + * @return void |
|
46 | 49 | */ |
47 | 50 | public function setAverageRating($averageRating); |
48 | 51 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Review\Model; |
15 | 15 |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param ShipmentInterface|null $shipment |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setShipment(ShipmentInterface $shipment = null); |
32 | 33 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Shipping\Model; |
15 | 15 |
@@ -40,6 +40,7 @@ discard block |
||
40 | 40 | |
41 | 41 | /** |
42 | 42 | * @param int $position |
43 | + * @return void |
|
43 | 44 | */ |
44 | 45 | public function setPosition($position); |
45 | 46 | |
@@ -50,6 +51,7 @@ discard block |
||
50 | 51 | |
51 | 52 | /** |
52 | 53 | * @param null|ShippingCategoryInterface $category |
54 | + * @return void |
|
53 | 55 | */ |
54 | 56 | public function setCategory(ShippingCategoryInterface $category = null); |
55 | 57 | |
@@ -67,6 +69,7 @@ discard block |
||
67 | 69 | |
68 | 70 | /** |
69 | 71 | * @param int $categoryRequirement |
72 | + * @return void |
|
70 | 73 | */ |
71 | 74 | public function setCategoryRequirement($categoryRequirement); |
72 | 75 | |
@@ -82,6 +85,7 @@ discard block |
||
82 | 85 | |
83 | 86 | /** |
84 | 87 | * @param string $calculator |
88 | + * @return void |
|
85 | 89 | */ |
86 | 90 | public function setCalculator($calculator); |
87 | 91 | |
@@ -92,6 +96,7 @@ discard block |
||
92 | 96 | |
93 | 97 | /** |
94 | 98 | * @param array $configuration |
99 | + * @return void |
|
95 | 100 | */ |
96 | 101 | public function setConfiguration(array $configuration); |
97 | 102 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Shipping\Model; |
15 | 15 |
@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param string $name |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function setName($name); |
37 | 38 | |
@@ -42,6 +43,7 @@ discard block |
||
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param string $description |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function setDescription($description); |
47 | 49 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Shipping\Model; |
15 | 15 |
@@ -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,11 +50,13 @@ discard block |
||
48 | 50 | |
49 | 51 | /** |
50 | 52 | * @param TaxRateInterface $rate |
53 | + * @return void |
|
51 | 54 | */ |
52 | 55 | public function addRate(TaxRateInterface $rate); |
53 | 56 | |
54 | 57 | /** |
55 | 58 | * @param TaxRateInterface $rate |
59 | + * @return void |
|
56 | 60 | */ |
57 | 61 | public function removeRate(TaxRateInterface $rate); |
58 | 62 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Taxation\Model; |
15 | 15 |
@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param string $name |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function setName($name); |
37 | 38 | |
@@ -42,6 +43,7 @@ discard block |
||
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param string $description |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function setDescription($description); |
47 | 49 | } |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Component\Taxonomy\Model; |
15 | 15 |
@@ -78,7 +78,7 @@ |
||
78 | 78 | { |
79 | 79 | "code": "USD" |
80 | 80 | } |
81 | -EOT; |
|
81 | +eot; |
|
82 | 82 | |
83 | 83 | $this->client->request('POST', '/api/v1/currencies/', [], [], static::$authorizedHeaderWithContentType, $data); |
84 | 84 |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Tests\Controller; |
15 | 15 |