@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param int $amount |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setAmount($amount); |
28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param int $codeLength |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function setCodeLength($codeLength); |
38 | 40 | |
@@ -43,6 +45,7 @@ discard block |
||
43 | 45 | |
44 | 46 | /** |
45 | 47 | * @param \DateTime $expiresAt |
48 | + * @return void |
|
46 | 49 | */ |
47 | 50 | public function setExpiresAt(\DateTime $expiresAt = null); |
48 | 51 | |
@@ -53,6 +56,7 @@ discard block |
||
53 | 56 | |
54 | 57 | /** |
55 | 58 | * @param int $usageLimit |
59 | + * @return void |
|
56 | 60 | */ |
57 | 61 | public function setUsageLimit($usageLimit); |
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\Promotion\Generator; |
15 | 15 |
@@ -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 |
@@ -29,6 +29,7 @@ discard block |
||
29 | 29 | * |
30 | 30 | * @throws ExistingServiceException |
31 | 31 | * @throws \InvalidArgumentException |
32 | + * @return void |
|
32 | 33 | */ |
33 | 34 | public function register($service, $priority = 0); |
34 | 35 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | * @param object $service |
37 | 38 | * |
38 | 39 | * @throws NonExistingServiceException |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function unregister($service); |
41 | 43 |
@@ -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\Registry; |
15 | 15 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param \DateTime $archivedAt |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setArchivedAt(\DateTime $archivedAt = null); |
28 | 29 | } |
@@ -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\Resource\Model; |
15 | 15 |
@@ -37,21 +37,25 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * @param TranslationInterface $translation |
40 | + * @return void |
|
40 | 41 | */ |
41 | 42 | public function addTranslation(TranslationInterface $translation); |
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param TranslationInterface $translation |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function removeTranslation(TranslationInterface $translation); |
47 | 49 | |
48 | 50 | /** |
49 | 51 | * @param string $locale |
52 | + * @return void |
|
50 | 53 | */ |
51 | 54 | public function setCurrentLocale($locale); |
52 | 55 | |
53 | 56 | /** |
54 | 57 | * @param string $locale |
58 | + * @return void |
|
55 | 59 | */ |
56 | 60 | public function setFallbackLocale($locale); |
57 | 61 | } |
@@ -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\Resource\Model; |
15 | 15 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param TranslatableInterface $translatableEntity |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function assignLocale(TranslatableInterface $translatableEntity); |
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\Resource\Translation; |
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 |