@@ -23,10 +23,14 @@ |
||
23 | 23 | */ |
24 | 24 | public function hasPayAction(); |
25 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
26 | 29 | public function pay(); |
27 | 30 | |
28 | 31 | /** |
29 | 32 | * @param string $paymentMethodName |
33 | + * @return void |
|
30 | 34 | */ |
31 | 35 | public function choosePaymentMethod($paymentMethodName); |
32 | 36 |
@@ -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 | } |
@@ -24,9 +24,13 @@ discard block |
||
24 | 24 | * @param UserInterface $user |
25 | 25 | * |
26 | 26 | * @throws \InvalidArgumentException |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function logIn(UserInterface $user); |
29 | 30 | |
31 | + /** |
|
32 | + * @return void |
|
33 | + */ |
|
30 | 34 | public function logOut(); |
31 | 35 | |
32 | 36 | /** |
@@ -38,6 +42,7 @@ discard block |
||
38 | 42 | |
39 | 43 | /** |
40 | 44 | * @param TokenInterface $token |
45 | + * @return void |
|
41 | 46 | */ |
42 | 47 | public function restoreToken(TokenInterface $token); |
43 | 48 | } |
@@ -21,6 +21,7 @@ |
||
21 | 21 | /** |
22 | 22 | * @param AdminUserInterface $adminUser |
23 | 23 | * @param callable $action |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function performActionAsAdminUser(AdminUserInterface $adminUser, callable $action); |
26 | 27 | } |
@@ -21,12 +21,14 @@ |
||
21 | 21 | /** |
22 | 22 | * @param string $field |
23 | 23 | * @param string $type |
24 | + * @return void |
|
24 | 25 | */ |
25 | 26 | public function specifyFilterType($field, $type); |
26 | 27 | |
27 | 28 | /** |
28 | 29 | * @param string $field |
29 | 30 | * @param string $value |
31 | + * @return void |
|
30 | 32 | */ |
31 | 33 | public function specifyFilterValue($field, $value); |
32 | 34 | } |
@@ -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 | { |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | /** |
172 | 172 | * @param $name |
173 | 173 | * |
174 | - * @return mixed|null|string |
|
174 | + * @return string |
|
175 | 175 | */ |
176 | 176 | public function getRedirectRoute($name) |
177 | 177 | { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
234 | - * @param object|null $resource |
|
234 | + * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource |
|
235 | 235 | * |
236 | 236 | * @return array |
237 | 237 | */ |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | } |
351 | 351 | |
352 | 352 | /** |
353 | - * @param $parameter |
|
353 | + * @param string $parameter |
|
354 | 354 | * @param array $defaults |
355 | 355 | * |
356 | 356 | * @return array |
@@ -454,7 +454,7 @@ discard block |
||
454 | 454 | } |
455 | 455 | |
456 | 456 | /** |
457 | - * @return mixed|null |
|
457 | + * @return string |
|
458 | 458 | */ |
459 | 459 | public function getSerializationVersion() |
460 | 460 | { |