@@ -33,6 +33,7 @@ discard block |
||
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @param int $unitPrice |
36 | + * @return void |
|
36 | 37 | */ |
37 | 38 | public function setUnitPrice($unitPrice); |
38 | 39 | |
@@ -43,6 +44,7 @@ discard block |
||
43 | 44 | |
44 | 45 | /** |
45 | 46 | * Recalculate totals. Should be used after every unit change. |
47 | + * @return void |
|
46 | 48 | */ |
47 | 49 | public function recalculateUnitsTotal(); |
48 | 50 | |
@@ -63,6 +65,7 @@ discard block |
||
63 | 65 | |
64 | 66 | /** |
65 | 67 | * @param bool $immutable |
68 | + * @return void |
|
66 | 69 | */ |
67 | 70 | public function setImmutable($immutable); |
68 | 71 | |
@@ -80,11 +83,13 @@ discard block |
||
80 | 83 | |
81 | 84 | /** |
82 | 85 | * @param OrderItemUnitInterface $itemUnit |
86 | + * @return void |
|
83 | 87 | */ |
84 | 88 | public function addUnit(OrderItemUnitInterface $itemUnit); |
85 | 89 | |
86 | 90 | /** |
87 | 91 | * @param OrderItemUnitInterface $itemUnit |
92 | + * @return void |
|
88 | 93 | */ |
89 | 94 | public function removeUnit(OrderItemUnitInterface $itemUnit); |
90 | 95 | |
@@ -97,13 +102,14 @@ discard block |
||
97 | 102 | |
98 | 103 | /** |
99 | 104 | * @param string|null $type |
105 | + * @return void |
|
100 | 106 | */ |
101 | 107 | public function removeAdjustmentsRecursively($type = null); |
102 | 108 | |
103 | 109 | /** |
104 | 110 | * @param string|null $type |
105 | 111 | * |
106 | - * @return array |
|
112 | + * @return integer |
|
107 | 113 | */ |
108 | 114 | public function getAdjustmentsTotalRecursively($type = null); |
109 | 115 | } |
@@ -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\Order\Model; |
15 | 15 |
@@ -21,6 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @param OrderItemInterface $orderItem |
23 | 23 | * @param int $targetQuantity |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function modify(OrderItemInterface $orderItem, $targetQuantity); |
26 | 27 | } |
@@ -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\Order\Modifier; |
15 | 15 |
@@ -26,6 +26,7 @@ discard block |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * @param string $name |
29 | + * @return void |
|
29 | 30 | */ |
30 | 31 | public function setName($name); |
31 | 32 | |
@@ -36,6 +37,7 @@ discard block |
||
36 | 37 | |
37 | 38 | /** |
38 | 39 | * @param string $description |
40 | + * @return void |
|
39 | 41 | */ |
40 | 42 | public function setDescription($description); |
41 | 43 | |
@@ -46,6 +48,7 @@ discard block |
||
46 | 48 | |
47 | 49 | /** |
48 | 50 | * @param string $metaKeywords |
51 | + * @return void |
|
49 | 52 | */ |
50 | 53 | public function setMetaKeywords($metaKeywords); |
51 | 54 | |
@@ -56,6 +59,7 @@ discard block |
||
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param string $metaDescription |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function setMetaDescription($metaDescription); |
61 | 65 | } |
@@ -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 |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param null|TaxCategoryInterface $category |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setCategory(TaxCategoryInterface $category = null); |
32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param string $name |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setName($name); |
42 | 44 | |
@@ -52,6 +54,7 @@ discard block |
||
52 | 54 | |
53 | 55 | /** |
54 | 56 | * @param float $amount |
57 | + * @return void |
|
55 | 58 | */ |
56 | 59 | public function setAmount($amount); |
57 | 60 | |
@@ -62,6 +65,7 @@ discard block |
||
62 | 65 | |
63 | 66 | /** |
64 | 67 | * @param bool $includedInPrice |
68 | + * @return void |
|
65 | 69 | */ |
66 | 70 | public function setIncludedInPrice($includedInPrice); |
67 | 71 | |
@@ -72,6 +76,7 @@ discard block |
||
72 | 76 | |
73 | 77 | /** |
74 | 78 | * @param string $calculator |
79 | + * @return void |
|
75 | 80 | */ |
76 | 81 | public function setCalculator($calculator); |
77 | 82 |
@@ -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 |
@@ -13,9 +13,9 @@ |
||
13 | 13 | |
14 | 14 | use PhpSpec\ObjectBehavior; |
15 | 15 | use Sylius\Component\Resource\Repository\RepositoryInterface; |
16 | -use Sylius\Component\Taxation\Model\TaxableInterface; |
|
17 | 16 | use Sylius\Component\Taxation\Model\TaxCategoryInterface; |
18 | 17 | use Sylius\Component\Taxation\Model\TaxRateInterface; |
18 | +use Sylius\Component\Taxation\Model\TaxableInterface; |
|
19 | 19 | use Sylius\Component\Taxation\Resolver\TaxRateResolverInterface; |
20 | 20 | |
21 | 21 | /** |
@@ -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 spec\Sylius\Component\Taxation\Resolver; |
15 | 15 |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param string $plainPassword |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setPlainPassword($plainPassword); |
28 | 29 | |
@@ -38,6 +39,7 @@ discard block |
||
38 | 39 | |
39 | 40 | /** |
40 | 41 | * @param string $encodedPassword |
42 | + * @return void |
|
41 | 43 | */ |
42 | 44 | public function setPassword($encodedPassword); |
43 | 45 | |
@@ -55,6 +57,7 @@ discard block |
||
55 | 57 | * |
56 | 58 | * This is important if, at any given point, sensitive information like |
57 | 59 | * the plain-text password is stored on this object. |
60 | + * @return void |
|
58 | 61 | */ |
59 | 62 | public function eraseCredentials(); |
60 | 63 | } |
@@ -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\User\Model; |
15 | 15 |
@@ -23,6 +23,7 @@ |
||
23 | 23 | |
24 | 24 | /** |
25 | 25 | * @param UserInterface $user |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setUser(UserInterface $user = 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\User\Model; |
15 | 15 |
@@ -18,5 +18,8 @@ |
||
18 | 18 | */ |
19 | 19 | interface PasswordUpdaterInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function updatePassword(CredentialsHolderInterface $user); |
22 | 25 | } |
@@ -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\User\Security; |
15 | 15 |
@@ -18,7 +18,7 @@ |
||
18 | 18 | |
19 | 19 | For the full copyright and license information, please view the LICENSE |
20 | 20 | file that was distributed with this source code. |
21 | -EOF; |
|
21 | +eof; |
|
22 | 22 | |
23 | 23 | HeaderCommentFixer::setHeader($header); |
24 | 24 |