@@ -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 | } |
@@ -130,6 +130,8 @@ |
||
130 | 130 | /** |
131 | 131 | * @Given I have proceeded order with :shippingMethodName shipping method and :paymentMethodName payment |
132 | 132 | * @When I proceed with :shippingMethodName shipping method and :paymentMethodName payment |
133 | + * @param string $shippingMethodName |
|
134 | + * @param string $paymentMethodName |
|
133 | 135 | */ |
134 | 136 | public function iProceedOrderWithShippingMethodAndPayment($shippingMethodName, $paymentMethodName) |
135 | 137 | { |
@@ -20,23 +20,27 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $optionName |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectOption($optionName); |
25 | 26 | |
26 | 27 | /** |
27 | 28 | * @param string $code |
29 | + * @return void |
|
28 | 30 | */ |
29 | 31 | public function specifyCode($code); |
30 | 32 | |
31 | 33 | /** |
32 | 34 | * @param string $name |
33 | 35 | * @param string $localeCode |
36 | + * @return void |
|
34 | 37 | */ |
35 | 38 | public function nameItIn($name, $localeCode); |
36 | 39 | |
37 | 40 | /** |
38 | 41 | * @param string $path |
39 | 42 | * @param string $type |
43 | + * @return void |
|
40 | 44 | */ |
41 | 45 | public function attachImage($path, $type = null); |
42 | 46 | } |
@@ -35,12 +35,14 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $name |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function deleteTaxonOnPageByName($name); |
40 | 41 | |
41 | 42 | /** |
42 | 43 | * @param string $description |
43 | 44 | * @param string $languageCode |
45 | + * @return void |
|
44 | 46 | */ |
45 | 47 | public function describeItAs($description, $languageCode); |
46 | 48 | |
@@ -54,23 +56,27 @@ discard block |
||
54 | 56 | /** |
55 | 57 | * @param string $name |
56 | 58 | * @param string $languageCode |
59 | + * @return void |
|
57 | 60 | */ |
58 | 61 | public function nameIt($name, $languageCode); |
59 | 62 | |
60 | 63 | /** |
61 | 64 | * @param string $code |
65 | + * @return void |
|
62 | 66 | */ |
63 | 67 | public function specifyCode($code); |
64 | 68 | |
65 | 69 | /** |
66 | 70 | * @param string $slug |
67 | 71 | * @param string $languageCode |
72 | + * @return void |
|
68 | 73 | */ |
69 | 74 | public function specifySlug($slug, $languageCode); |
70 | 75 | |
71 | 76 | /** |
72 | 77 | * @param string $path |
73 | 78 | * @param string $type |
79 | + * @return void |
|
74 | 80 | */ |
75 | 81 | public function attachImage($path, $type = null); |
76 | 82 | |
@@ -85,6 +91,7 @@ discard block |
||
85 | 91 | |
86 | 92 | /** |
87 | 93 | * @param string $locale |
94 | + * @return void |
|
88 | 95 | */ |
89 | 96 | public function activateLanguageTab($locale); |
90 | 97 | } |
@@ -27,11 +27,18 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param int $price |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function specifyPrice($price); |
32 | 33 | |
34 | + /** |
|
35 | + * @return void |
|
36 | + */ |
|
33 | 37 | public function disableTracking(); |
34 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
35 | 42 | public function enableTracking(); |
36 | 43 | |
37 | 44 | /** |
@@ -70,6 +77,7 @@ discard block |
||
70 | 77 | |
71 | 78 | /** |
72 | 79 | * @param int $amount |
80 | + * @return void |
|
73 | 81 | */ |
74 | 82 | public function specifyCurrentStock($amount); |
75 | 83 |
@@ -354,6 +354,7 @@ discard block |
||
354 | 354 | |
355 | 355 | /** |
356 | 356 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order$/ |
357 | + * @param integer $discount |
|
357 | 358 | */ |
358 | 359 | public function itGivesPercentageDiscountOnShippingToEveryOrder(PromotionInterface $promotion, $discount) |
359 | 360 | { |
@@ -677,6 +678,7 @@ discard block |
||
677 | 678 | |
678 | 679 | /** |
679 | 680 | * @Given /^([^"]+) gives ("[^"]+%") discount on shipping to every order over ("(?:€|£|\$)[^"]+")$/ |
681 | + * @param integer $discount |
|
680 | 682 | */ |
681 | 683 | public function itGivesDiscountOnShippingToEveryOrderOver( |
682 | 684 | PromotionInterface $promotion, |
@@ -49,7 +49,7 @@ |
||
49 | 49 | public function getDriver(): string; |
50 | 50 | |
51 | 51 | /** |
52 | - * @return ?string |
|
52 | + * @return string |
|
53 | 53 | */ |
54 | 54 | public function getTemplatesNamespace(): ?string; |
55 | 55 |
@@ -25,10 +25,17 @@ |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param bool $enabled |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setEnabled(?bool $enabled): void; |
30 | 31 | |
32 | + /** |
|
33 | + * @return void |
|
34 | + */ |
|
31 | 35 | public function enable(): void; |
32 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
33 | 40 | public function disable(): void; |
34 | 41 | } |
@@ -27,6 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param string $name |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setName(?string $name): void; |
32 | 33 | } |