@@ -34,14 +34,19 @@ |
||
34 | 34 | |
35 | 35 | /** |
36 | 36 | * @param string $name |
37 | + * @return void |
|
37 | 38 | */ |
38 | 39 | public function search($name); |
39 | 40 | |
40 | 41 | /** |
41 | 42 | * @param string $order |
43 | + * @return void |
|
42 | 44 | */ |
43 | 45 | public function sort($order); |
44 | 46 | |
47 | + /** |
|
48 | + * @return void |
|
49 | + */ |
|
45 | 50 | public function clearFilter(); |
46 | 51 | |
47 | 52 | /** |
@@ -35,8 +35,12 @@ |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $serviceId |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function unmockService($serviceId); |
40 | 41 | |
42 | + /** |
|
43 | + * @return void |
|
44 | + */ |
|
41 | 45 | public function unmockAll(); |
42 | 46 | } |
@@ -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 | { |
@@ -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 | } |
@@ -6,11 +6,20 @@ |
||
6 | 6 | |
7 | 7 | interface ResolveNextRouteInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return string |
|
11 | + */ |
|
9 | 12 | public function getRouteName(): ?string; |
10 | 13 | |
14 | + /** |
|
15 | + * @return void |
|
16 | + */ |
|
11 | 17 | public function setRouteName(string $routeName): void; |
12 | 18 | |
13 | 19 | public function getRouteParameters(): array; |
14 | 20 | |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
15 | 24 | public function setRouteParameters(array $parameters): void; |
16 | 25 | } |