@@ -23,12 +23,14 @@ |
||
23 | 23 | /** |
24 | 24 | * @throws UnsupportedDriverActionException |
25 | 25 | * @throws DriverException |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function pay(); |
28 | 29 | |
29 | 30 | /** |
30 | 31 | * @throws UnsupportedDriverActionException |
31 | 32 | * @throws DriverException |
33 | + * @return void |
|
32 | 34 | */ |
33 | 35 | public function cancel(); |
34 | 36 | } |
@@ -21,16 +21,19 @@ |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $password |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function specifyCurrentPassword($password); |
26 | 27 | |
27 | 28 | /** |
28 | 29 | * @param string $password |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function specifyNewPassword($password); |
31 | 33 | |
32 | 34 | /** |
33 | 35 | * @param string $password |
36 | + * @return void |
|
34 | 37 | */ |
35 | 38 | public function specifyConfirmationPassword($password); |
36 | 39 |
@@ -19,6 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * @param string $name |
21 | 21 | * @param string $value |
22 | + * @return void |
|
22 | 23 | */ |
23 | 24 | public function setCookie($name, $value); |
24 | 25 | } |
@@ -151,6 +151,9 @@ |
||
151 | 151 | $this->validate($address, $constraint); |
152 | 152 | } |
153 | 153 | |
154 | + /** |
|
155 | + * @param string $propertyPath |
|
156 | + */ |
|
154 | 157 | private function createViolation($propertyPath) |
155 | 158 | { |
156 | 159 | return new ConstraintViolation('message', 'template', [], 'root', $propertyPath, 'invalidValue'); |
@@ -28,7 +28,7 @@ |
||
28 | 28 | } |
29 | 29 | |
30 | 30 | /** |
31 | - * @return array |
|
31 | + * @return string[] |
|
32 | 32 | */ |
33 | 33 | protected function getTranslationsLines() |
34 | 34 | { |
@@ -21,19 +21,25 @@ discard block |
||
21 | 21 | { |
22 | 22 | /** |
23 | 23 | * @param string $firstName |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function specifyFirstName($firstName); |
26 | 27 | |
27 | 28 | /** |
28 | 29 | * @param string $lastName |
30 | + * @return void |
|
29 | 31 | */ |
30 | 32 | public function specifyLastName($lastName); |
31 | 33 | |
32 | 34 | /** |
33 | 35 | * @param string $email |
36 | + * @return void |
|
34 | 37 | */ |
35 | 38 | public function specifyEmail($email); |
36 | 39 | |
40 | + /** |
|
41 | + * @return void |
|
42 | + */ |
|
37 | 43 | public function saveChanges(); |
38 | 44 | |
39 | 45 | /** |
@@ -46,6 +52,9 @@ discard block |
||
46 | 52 | */ |
47 | 53 | public function checkValidationMessageFor($element, $message); |
48 | 54 | |
55 | + /** |
|
56 | + * @return void |
|
57 | + */ |
|
49 | 58 | public function subscribeToTheNewsletter(); |
50 | 59 | |
51 | 60 | /** |
@@ -70,17 +70,20 @@ discard block |
||
70 | 70 | |
71 | 71 | /** |
72 | 72 | * @param string $productName |
73 | + * @return void |
|
73 | 74 | */ |
74 | 75 | public function removeProduct($productName); |
75 | 76 | |
76 | 77 | /** |
77 | 78 | * @param string $productName |
78 | 79 | * @param int $quantity |
80 | + * @return void |
|
79 | 81 | */ |
80 | 82 | public function changeQuantity($productName, $quantity); |
81 | 83 | |
82 | 84 | /** |
83 | 85 | * @param string $couponCode |
86 | + * @return void |
|
84 | 87 | */ |
85 | 88 | public function applyCoupon($couponCode); |
86 | 89 | |
@@ -143,12 +146,19 @@ discard block |
||
143 | 146 | */ |
144 | 147 | public function getCartTotal(); |
145 | 148 | |
149 | + /** |
|
150 | + * @return void |
|
151 | + */ |
|
146 | 152 | public function clearCart(); |
147 | 153 | |
154 | + /** |
|
155 | + * @return void |
|
156 | + */ |
|
148 | 157 | public function updateCart(); |
149 | 158 | |
150 | 159 | /** |
151 | 160 | * @param int $timeout |
161 | + * @return void |
|
152 | 162 | */ |
153 | 163 | public function waitForRedirect($timeout); |
154 | 164 |
@@ -75,6 +75,7 @@ discard block |
||
75 | 75 | |
76 | 76 | /** |
77 | 77 | * @param string $notes |
78 | + * @return void |
|
78 | 79 | */ |
79 | 80 | public function addNotes($notes); |
80 | 81 | |
@@ -135,12 +136,24 @@ discard block |
||
135 | 136 | */ |
136 | 137 | public function hasProductOutOfStockValidationMessage(ProductInterface $product); |
137 | 138 | |
139 | + /** |
|
140 | + * @return void |
|
141 | + */ |
|
138 | 142 | public function changeAddress(); |
139 | 143 | |
144 | + /** |
|
145 | + * @return void |
|
146 | + */ |
|
140 | 147 | public function changeShippingMethod(); |
141 | 148 | |
149 | + /** |
|
150 | + * @return void |
|
151 | + */ |
|
142 | 152 | public function changePaymentMethod(); |
143 | 153 | |
154 | + /** |
|
155 | + * @return void |
|
156 | + */ |
|
144 | 157 | public function confirmOrder(); |
145 | 158 | |
146 | 159 | /** |
@@ -20,6 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $paymentMethod |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectPaymentMethod($paymentMethod); |
25 | 26 | |
@@ -37,12 +38,24 @@ discard block |
||
37 | 38 | */ |
38 | 39 | public function getItemSubtotal($itemName); |
39 | 40 | |
41 | + /** |
|
42 | + * @return void |
|
43 | + */ |
|
40 | 44 | public function nextStep(); |
41 | 45 | |
46 | + /** |
|
47 | + * @return void |
|
48 | + */ |
|
42 | 49 | public function changeShippingMethod(); |
43 | 50 | |
51 | + /** |
|
52 | + * @return void |
|
53 | + */ |
|
44 | 54 | public function changeShippingMethodByStepLabel(); |
45 | 55 | |
56 | + /** |
|
57 | + * @return void |
|
58 | + */ |
|
46 | 59 | public function changeAddressByStepLabel(); |
47 | 60 | |
48 | 61 | /** |