@@ -17,23 +17,29 @@ |
||
17 | 17 | |
18 | 18 | interface GeneratePageInterface extends SymfonyPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function generate(); |
21 | 24 | |
22 | 25 | /** |
23 | 26 | * @param int $nth |
24 | 27 | * @param int $price |
25 | 28 | * @param string $channelName |
29 | + * @return void |
|
26 | 30 | */ |
27 | 31 | public function specifyPrice($nth, $price, $channelName); |
28 | 32 | |
29 | 33 | /** |
30 | 34 | * @param int $nth |
31 | 35 | * @param string $code |
36 | + * @return void |
|
32 | 37 | */ |
33 | 38 | public function specifyCode($nth, $code); |
34 | 39 | |
35 | 40 | /** |
36 | 41 | * @param int $nth |
42 | + * @return void |
|
37 | 43 | */ |
38 | 44 | public function removeVariant($nth); |
39 | 45 |
@@ -17,20 +17,26 @@ discard block |
||
17 | 17 | |
18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function addMember(); |
21 | 24 | |
22 | 25 | /** |
23 | 26 | * @param string $message |
27 | + * @return boolean |
|
24 | 28 | */ |
25 | 29 | public function checkValidationMessageForMembers($message); |
26 | 30 | |
27 | 31 | /** |
28 | 32 | * @param string $name |
33 | + * @return void |
|
29 | 34 | */ |
30 | 35 | public function chooseMember($name); |
31 | 36 | |
32 | 37 | /** |
33 | 38 | * @param string $scope |
39 | + * @return void |
|
34 | 40 | */ |
35 | 41 | public function selectScope($scope); |
36 | 42 | |
@@ -48,11 +54,13 @@ discard block |
||
48 | 54 | |
49 | 55 | /** |
50 | 56 | * @param string $name |
57 | + * @return void |
|
51 | 58 | */ |
52 | 59 | public function nameIt($name); |
53 | 60 | |
54 | 61 | /** |
55 | 62 | * @param string $code |
63 | + * @return void |
|
56 | 64 | */ |
57 | 65 | public function specifyCode($code); |
58 | 66 | } |
@@ -17,6 +17,9 @@ |
||
17 | 17 | |
18 | 18 | interface ThankYouPageInterface extends SymfonyPageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function goToOrderDetails(); |
21 | 24 | |
22 | 25 | /** |
@@ -15,8 +15,8 @@ |
||
15 | 15 | |
16 | 16 | use Doctrine\Common\Persistence\ObjectManager; |
17 | 17 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
18 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
19 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
19 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
20 | 20 | |
21 | 21 | class AverageRatingUpdater implements ReviewableRatingUpdaterInterface |
22 | 22 | { |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface UnpaidOrdersStateUpdaterInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function cancel(): void; |
19 | 22 | } |
@@ -15,5 +15,8 @@ |
||
15 | 15 | |
16 | 16 | interface ExpiredCartsRemoverInterface |
17 | 17 | { |
18 | + /** |
|
19 | + * @return void |
|
20 | + */ |
|
18 | 21 | public function remove(): void; |
19 | 22 | } |
@@ -17,5 +17,8 @@ |
||
17 | 17 | |
18 | 18 | interface PasswordUpdaterInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function updatePassword(CredentialsHolderInterface $user): void; |
21 | 24 | } |
@@ -146,6 +146,7 @@ |
||
146 | 146 | |
147 | 147 | /** |
148 | 148 | * @Given the store (also )allows shipping with :name |
149 | + * @param string $name |
|
149 | 150 | */ |
150 | 151 | public function theStoreAllowsShippingMethodWithName($name) |
151 | 152 | { |
@@ -127,6 +127,7 @@ discard block |
||
127 | 127 | * @Given the store has a tax category :name with a code :code |
128 | 128 | * @Given the store has a tax category :name |
129 | 129 | * @Given the store has a tax category :name also |
130 | + * @param string $name |
|
130 | 131 | */ |
131 | 132 | public function theStoreHasTaxCategoryWithCode($name, $code = null) |
132 | 133 | { |
@@ -213,7 +214,7 @@ discard block |
||
213 | 214 | /** |
214 | 215 | * @param string $taxRateAmount |
215 | 216 | * |
216 | - * @return string |
|
217 | + * @return integer |
|
217 | 218 | */ |
218 | 219 | private function getAmountFromString($taxRateAmount) |
219 | 220 | { |