@@ -28,6 +28,7 @@ |
||
28 | 28 | |
29 | 29 | /** |
30 | 30 | * @param string $name |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function setName($name); |
33 | 34 | } |
@@ -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\Product\Model; |
15 | 15 |
@@ -22,12 +22,14 @@ |
||
22 | 22 | /** |
23 | 23 | * @param PromotionSubjectInterface $subject |
24 | 24 | * @param PromotionInterface $promotion |
25 | + * @return void |
|
25 | 26 | */ |
26 | 27 | public function apply(PromotionSubjectInterface $subject, PromotionInterface $promotion); |
27 | 28 | |
28 | 29 | /** |
29 | 30 | * @param PromotionSubjectInterface $subject |
30 | 31 | * @param PromotionInterface $promotion |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function revert(PromotionSubjectInterface $subject, PromotionInterface $promotion); |
33 | 35 | } |
@@ -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\Action; |
15 | 15 |
@@ -60,7 +60,7 @@ |
||
60 | 60 | /** |
61 | 61 | * @param PromotionCouponGeneratorInstructionInterface $instruction |
62 | 62 | * |
63 | - * @return int |
|
63 | + * @return double |
|
64 | 64 | * |
65 | 65 | * @throws \InvalidArgumentException |
66 | 66 | */ |
@@ -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 |
@@ -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 |