@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param int|null $priority |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setPriority($priority); |
28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param string $name |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function nameIt($name); |
38 | 40 | |
@@ -50,35 +52,47 @@ discard block |
||
50 | 52 | |
51 | 53 | /** |
52 | 54 | * @param string $limit |
55 | + * @return void |
|
53 | 56 | */ |
54 | 57 | public function fillUsageLimit($limit); |
55 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
56 | 62 | public function makeExclusive(); |
57 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
58 | 67 | public function checkCouponBased(); |
59 | 68 | |
60 | 69 | /** |
61 | 70 | * @param string $name |
71 | + * @return void |
|
62 | 72 | */ |
63 | 73 | public function checkChannel($name); |
64 | 74 | |
65 | 75 | /** |
66 | 76 | * @param \DateTimeInterface $dateTime |
77 | + * @return void |
|
67 | 78 | */ |
68 | 79 | public function setStartsAt(\DateTimeInterface $dateTime); |
69 | 80 | |
70 | 81 | /** |
71 | 82 | * @param \DateTimeInterface $dateTime |
83 | + * @return void |
|
72 | 84 | */ |
73 | 85 | public function setEndsAt(\DateTimeInterface $dateTime); |
74 | 86 | |
75 | 87 | /** |
76 | 88 | * {@inheritdoc} |
89 | + * @return boolean |
|
77 | 90 | */ |
78 | 91 | public function hasStartsAt(\DateTimeInterface $dateTime); |
79 | 92 | |
80 | 93 | /** |
81 | 94 | * {@inheritdoc} |
95 | + * @return boolean |
|
82 | 96 | */ |
83 | 97 | public function hasEndsAt(\DateTimeInterface $dateTime); |
84 | 98 | } |
@@ -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 | } |
@@ -30,8 +30,12 @@ |
||
30 | 30 | /** |
31 | 31 | * @param string $productName |
32 | 32 | * @param int $position |
33 | + * @return void |
|
33 | 34 | */ |
34 | 35 | public function setPositionOfProduct($productName, $position); |
35 | 36 | |
37 | + /** |
|
38 | + * @return void |
|
39 | + */ |
|
36 | 40 | public function savePositions(); |
37 | 41 | } |
@@ -38,8 +38,12 @@ |
||
38 | 38 | /** |
39 | 39 | * @param string $name |
40 | 40 | * @param int $position |
41 | + * @return void |
|
41 | 42 | */ |
42 | 43 | public function setPosition($name, $position); |
43 | 44 | |
45 | + /** |
|
46 | + * @return void |
|
47 | + */ |
|
44 | 48 | public function savePositions(); |
45 | 49 | } |
@@ -24,6 +24,7 @@ |
||
24 | 24 | * @param array $data |
25 | 25 | * @param array $attachments |
26 | 26 | * @param array $replyTo |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function send(string $code, array $recipients, array $data = [], array $attachments = [], array $replyTo = []): void; |
29 | 30 | } |
@@ -333,7 +333,7 @@ |
||
333 | 333 | |
334 | 334 | /** |
335 | 335 | * @param Response $response |
336 | - * @param array|string[] $expectedChoiceValues |
|
336 | + * @param string[] $expectedChoiceValues |
|
337 | 337 | */ |
338 | 338 | private function assertSelectChoicesInResponse(Response $response, array $expectedChoiceValues): void |
339 | 339 | { |
@@ -23,12 +23,14 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param string $code |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function specifyCode($code); |
28 | 29 | |
29 | 30 | /** |
30 | 31 | * @param string $name |
31 | 32 | * @param string $language |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function nameIt($name, $language); |
34 | 36 | |
@@ -39,19 +41,25 @@ discard block |
||
39 | 41 | |
40 | 42 | /** |
41 | 43 | * @param string $value |
44 | + * @return void |
|
42 | 45 | */ |
43 | 46 | public function addAttributeValue($value); |
44 | 47 | |
45 | 48 | /** |
46 | 49 | * @param int $min |
50 | + * @return void |
|
47 | 51 | */ |
48 | 52 | public function specifyMinValue(int $min): void; |
49 | 53 | |
50 | 54 | /** |
51 | 55 | * @param int $max |
56 | + * @return void |
|
52 | 57 | */ |
53 | 58 | public function specifyMaxValue(int $max): void; |
54 | 59 | |
60 | + /** |
|
61 | + * @return void |
|
62 | + */ |
|
55 | 63 | public function checkMultiple(): void; |
56 | 64 | |
57 | 65 | /** |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * @param string $name |
25 | 25 | * @param string $language |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function changeName($name, $language); |
28 | 29 | |
@@ -39,6 +40,7 @@ discard block |
||
39 | 40 | /** |
40 | 41 | * @param string $oldValue |
41 | 42 | * @param string $newValue |
43 | + * @return void |
|
42 | 44 | */ |
43 | 45 | public function changeAttributeValue(string $oldValue, string $newValue): void; |
44 | 46 | |
@@ -51,11 +53,13 @@ discard block |
||
51 | 53 | |
52 | 54 | /** |
53 | 55 | * @param string $value |
56 | + * @return void |
|
54 | 57 | */ |
55 | 58 | public function addAttributeValue(string $value): void; |
56 | 59 | |
57 | 60 | /** |
58 | 61 | * @param string $value |
62 | + * @return void |
|
59 | 63 | */ |
60 | 64 | public function deleteAttributeValue(string $value): void; |
61 | 65 | } |
@@ -198,6 +198,7 @@ |
||
198 | 198 | |
199 | 199 | /** |
200 | 200 | * @Given /^(this product) is(?:| also) priced at ("[^"]+") in ("[^"]+" channel)$/ |
201 | + * @param integer $price |
|
201 | 202 | */ |
202 | 203 | public function thisProductIsAlsoPricedAtInChannel(ProductInterface $product, $price, ChannelInterface $channel) |
203 | 204 | { |