@@ -31,6 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | /** |
33 | 33 | * @param string $name |
34 | + * @return void |
|
34 | 35 | */ |
35 | 36 | public function setName($name); |
36 | 37 | |
@@ -41,6 +42,7 @@ discard block |
||
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param VariableInterface|null $object |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setObject(VariableInterface $object = null); |
46 | 48 | |
@@ -51,16 +53,19 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param Collection $options |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function setOptions(Collection $options); |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param OptionValueInterface $option |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function addOption(OptionValueInterface $option); |
61 | 65 | |
62 | 66 | /** |
63 | 67 | * @param OptionValueInterface $option |
68 | + * @return void |
|
64 | 69 | */ |
65 | 70 | public function removeOption(OptionValueInterface $option); |
66 | 71 |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | * Sets all option values. |
40 | 40 | * |
41 | 41 | * @param Collection $optionValues |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setValues(Collection $optionValues); |
44 | 45 | |
@@ -46,6 +47,7 @@ discard block |
||
46 | 47 | * Adds option value. |
47 | 48 | * |
48 | 49 | * @param OptionValueInterface $optionValue |
50 | + * @return void |
|
49 | 51 | */ |
50 | 52 | public function addValue(OptionValueInterface $optionValue); |
51 | 53 | |
@@ -53,6 +55,7 @@ discard block |
||
53 | 55 | * Removes option value. |
54 | 56 | * |
55 | 57 | * @param OptionValueInterface $optionValue |
58 | + * @return void |
|
56 | 59 | */ |
57 | 60 | public function removeValue(OptionValueInterface $optionValue); |
58 | 61 |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $value |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setValue($value); |
32 | 33 | } |
@@ -205,6 +205,7 @@ |
||
205 | 205 | * @Then the product :productName should appear in the shop |
206 | 206 | * @Then the product :productName should be in the shop |
207 | 207 | * @Then this product should still be named :productName |
208 | + * @param string $productName |
|
208 | 209 | */ |
209 | 210 | public function theProductShouldAppearInTheShop($productName) |
210 | 211 | { |
@@ -150,6 +150,7 @@ discard block |
||
150 | 150 | |
151 | 151 | /** |
152 | 152 | * @Then the :productVariantCode variant of the :product product should appear in the shop |
153 | + * @param string $productVariantCode |
|
153 | 154 | */ |
154 | 155 | public function theProductVariantShouldAppearInTheShop($productVariantCode, ProductInterface $product) |
155 | 156 | { |
@@ -451,7 +452,7 @@ discard block |
||
451 | 452 | |
452 | 453 | /** |
453 | 454 | * @param string $element |
454 | - * @param $message |
|
455 | + * @param string $message |
|
455 | 456 | */ |
456 | 457 | private function assertValidationMessage($element, $message) |
457 | 458 | { |
@@ -25,15 +25,20 @@ |
||
25 | 25 | */ |
26 | 26 | public function hasValidationErrorWith($message); |
27 | 27 | |
28 | + /** |
|
29 | + * @return void |
|
30 | + */ |
|
28 | 31 | public function logIn(); |
29 | 32 | |
30 | 33 | /** |
31 | 34 | * @param string $password |
35 | + * @return void |
|
32 | 36 | */ |
33 | 37 | public function specifyPassword($password); |
34 | 38 | |
35 | 39 | /** |
36 | 40 | * @param string $userName |
41 | + * @return void |
|
37 | 42 | */ |
38 | 43 | public function specifyUserName($userName); |
39 | 44 | } |
@@ -39,25 +39,32 @@ |
||
39 | 39 | */ |
40 | 40 | public function checkGenerationValidation($message); |
41 | 41 | |
42 | + /** |
|
43 | + * @return void |
|
44 | + */ |
|
42 | 45 | public function generate(); |
43 | 46 | |
44 | 47 | /** |
45 | 48 | * @param int $amount |
49 | + * @return void |
|
46 | 50 | */ |
47 | 51 | public function specifyAmount($amount); |
48 | 52 | |
49 | 53 | /** |
50 | 54 | * @param int $codeLength |
55 | + * @return void |
|
51 | 56 | */ |
52 | 57 | public function specifyCodeLength($codeLength); |
53 | 58 | |
54 | 59 | /** |
55 | 60 | * @param \DateTime $date |
61 | + * @return void |
|
56 | 62 | */ |
57 | 63 | public function setExpiresAt(\DateTime $date); |
58 | 64 | |
59 | 65 | /** |
60 | 66 | * @param int $limit |
67 | + * @return void |
|
61 | 68 | */ |
62 | 69 | public function setUsageLimit($limit); |
63 | 70 | } |
@@ -36,11 +36,13 @@ discard block |
||
36 | 36 | |
37 | 37 | /** |
38 | 38 | * @param string $locale |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function setCurrentLocale($locale); |
41 | 42 | |
42 | 43 | /** |
43 | 44 | * @param string $locale |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function setFallbackLocale($locale); |
46 | 48 | |
@@ -51,11 +53,13 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param TranslationInterface $translation |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function addTranslation(TranslationInterface $translation); |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param TranslationInterface $translation |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function removeTranslation(TranslationInterface $translation); |
61 | 65 | } |
@@ -18,72 +18,91 @@ |
||
18 | 18 | */ |
19 | 19 | interface CreatePageInterface extends BaseCreatePageInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function enable(); |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function disable(); |
24 | 30 | |
25 | 31 | /** |
26 | 32 | * @param string $name |
33 | + * @return void |
|
27 | 34 | */ |
28 | 35 | public function nameIt($name); |
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 $description |
45 | + * @return void |
|
37 | 46 | */ |
38 | 47 | public function describeItAs($description); |
39 | 48 | |
40 | 49 | /** |
41 | 50 | * @param string $hostname |
51 | + * @return void |
|
42 | 52 | */ |
43 | 53 | public function setHostname($hostname); |
44 | 54 | |
45 | 55 | /** |
46 | 56 | * @param string $color |
57 | + * @return void |
|
47 | 58 | */ |
48 | 59 | public function defineColor($color); |
49 | 60 | |
50 | 61 | /** |
51 | 62 | * @param string $language |
63 | + * @return void |
|
52 | 64 | */ |
53 | 65 | public function chooseLocale($language); |
54 | 66 | |
55 | 67 | /** |
56 | 68 | * @param string $currencyCode |
69 | + * @return void |
|
57 | 70 | */ |
58 | 71 | public function chooseCurrency($currencyCode); |
59 | 72 | |
60 | 73 | /** |
61 | 74 | * @param string $shippingMethod |
75 | + * @return void |
|
62 | 76 | */ |
63 | 77 | public function chooseShippingMethod($shippingMethod); |
64 | 78 | |
65 | 79 | /** |
66 | 80 | * @param string $paymentMethod |
81 | + * @return void |
|
67 | 82 | */ |
68 | 83 | public function choosePaymentMethod($paymentMethod); |
69 | 84 | |
70 | 85 | /** |
71 | 86 | * @param string $taxZone |
87 | + * @return void |
|
72 | 88 | */ |
73 | 89 | public function chooseDefaultTaxZone($taxZone); |
74 | 90 | |
75 | 91 | /** |
76 | 92 | * @param string $locale |
93 | + * @return void |
|
77 | 94 | */ |
78 | 95 | public function chooseDefaultLocale($locale); |
79 | 96 | |
80 | 97 | /** |
81 | 98 | * @param string $currency |
99 | + * @return void |
|
82 | 100 | */ |
83 | 101 | public function chooseDefaultCurrency($currency); |
84 | 102 | |
85 | 103 | /** |
86 | 104 | * @param string $taxCalculationStrategy |
105 | + * @return void |
|
87 | 106 | */ |
88 | 107 | public function chooseTaxCalculationStrategy($taxCalculationStrategy); |
89 | 108 | } |