@@ -17,60 +17,76 @@ |
||
17 | 17 | |
18 | 18 | interface CreatePageInterface extends BaseCreatePageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function enable(); |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function disable(); |
23 | 29 | |
24 | 30 | /** |
25 | 31 | * @param string $name |
26 | 32 | * @param string $languageCode |
33 | + * @return void |
|
27 | 34 | */ |
28 | 35 | public function nameIt($name, $languageCode); |
29 | 36 | |
30 | 37 | /** |
31 | 38 | * @param string $code |
39 | + * @return void |
|
32 | 40 | */ |
33 | 41 | public function specifyCode($code); |
34 | 42 | |
35 | 43 | /** |
36 | 44 | * @param string $channelName |
45 | + * @return void |
|
37 | 46 | */ |
38 | 47 | public function checkChannel($channelName); |
39 | 48 | |
40 | 49 | /** |
41 | 50 | * @param string $description |
42 | 51 | * @param string $languageCode |
52 | + * @return void |
|
43 | 53 | */ |
44 | 54 | public function describeIt($description, $languageCode); |
45 | 55 | |
46 | 56 | /** |
47 | 57 | * @param string $instructions |
48 | 58 | * @param string $languageCode |
59 | + * @return void |
|
49 | 60 | */ |
50 | 61 | public function setInstructions($instructions, $languageCode); |
51 | 62 | |
52 | 63 | /** |
53 | 64 | * @param string $username |
65 | + * @return void |
|
54 | 66 | */ |
55 | 67 | public function setPaypalGatewayUsername($username); |
56 | 68 | |
57 | 69 | /** |
58 | 70 | * @param string $password |
71 | + * @return void |
|
59 | 72 | */ |
60 | 73 | public function setPaypalGatewayPassword($password); |
61 | 74 | |
62 | 75 | /** |
63 | 76 | * @param string $signature |
77 | + * @return void |
|
64 | 78 | */ |
65 | 79 | public function setPaypalGatewaySignature($signature); |
66 | 80 | |
67 | 81 | /** |
68 | 82 | * @param string $secretKey |
83 | + * @return void |
|
69 | 84 | */ |
70 | 85 | public function setStripeSecretKey($secretKey); |
71 | 86 | |
72 | 87 | /** |
73 | 88 | * @param string $publishableKey |
89 | + * @return void |
|
74 | 90 | */ |
75 | 91 | public function setStripePublishableKey($publishableKey); |
76 | 92 |
@@ -17,28 +17,38 @@ |
||
17 | 17 | |
18 | 18 | interface UpdatePageInterface extends BaseUpdatePageInterface |
19 | 19 | { |
20 | + /** |
|
21 | + * @return void |
|
22 | + */ |
|
20 | 23 | public function enable(); |
21 | 24 | |
25 | + /** |
|
26 | + * @return void |
|
27 | + */ |
|
22 | 28 | public function disable(); |
23 | 29 | |
24 | 30 | /** |
25 | 31 | * @param string $name |
26 | 32 | * @param string $languageCode |
33 | + * @return void |
|
27 | 34 | */ |
28 | 35 | public function nameIt($name, $languageCode); |
29 | 36 | |
30 | 37 | /** |
31 | 38 | * @param string $username |
39 | + * @return void |
|
32 | 40 | */ |
33 | 41 | public function setPaypalGatewayUsername($username); |
34 | 42 | |
35 | 43 | /** |
36 | 44 | * @param string $password |
45 | + * @return void |
|
37 | 46 | */ |
38 | 47 | public function setPaypalGatewayPassword($password); |
39 | 48 | |
40 | 49 | /** |
41 | 50 | * @param string $signature |
51 | + * @return void |
|
42 | 52 | */ |
43 | 53 | public function setPaypalGatewaySignature($signature); |
44 | 54 |
@@ -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 | } |
@@ -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 | { |