@@ -20,8 +20,12 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $paymentMethod |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectPaymentMethod($paymentMethod); |
25 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
26 | 30 | public function continueCheckout(); |
27 | 31 | } |
@@ -24,6 +24,7 @@ discard block |
||
24 | 24 | * @param string $password |
25 | 25 | * |
26 | 26 | * @throws ElementNotFoundException |
27 | + * @return void |
|
27 | 28 | */ |
28 | 29 | public function logInAsExistingUser($login, $password); |
29 | 30 | |
@@ -31,6 +32,7 @@ discard block |
||
31 | 32 | * @param string $email |
32 | 33 | * |
33 | 34 | * @throws ElementNotFoundException |
35 | + * @return void |
|
34 | 36 | */ |
35 | 37 | public function proceedAsGuest($email); |
36 | 38 | } |
@@ -20,6 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $shippingMethod |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectShippingMethod($shippingMethod); |
25 | 26 | |
@@ -35,5 +36,8 @@ discard block |
||
35 | 36 | */ |
36 | 37 | public function hasNoShippingMethodsMessage(); |
37 | 38 | |
39 | + /** |
|
40 | + * @return void |
|
41 | + */ |
|
38 | 42 | public function nextStep(); |
39 | 43 | } |
@@ -20,8 +20,12 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $shippingMethod |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function selectShippingMethod($shippingMethod); |
25 | 26 | |
27 | + /** |
|
28 | + * @return void |
|
29 | + */ |
|
26 | 30 | public function continueCheckout(); |
27 | 31 | } |
@@ -30,6 +30,7 @@ |
||
30 | 30 | * @param array $parameters |
31 | 31 | * |
32 | 32 | * @throws \InvalidArgumentException |
33 | + * @return void |
|
33 | 34 | */ |
34 | 35 | public function waitForResponse($timeout, array $parameters = []); |
35 | 36 | } |
@@ -20,6 +20,7 @@ discard block |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param PaymentInterface $payment |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function clickPayButtonForGivenPayment(PaymentInterface $payment); |
25 | 26 | |
@@ -28,6 +29,7 @@ discard block |
||
28 | 29 | * @param array $parameters |
29 | 30 | * |
30 | 31 | * @throws \InvalidArgumentException |
32 | + * @return void |
|
31 | 33 | */ |
32 | 34 | public function waitForResponse($timeout, array $parameters); |
33 | 35 |
@@ -20,6 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | /** |
22 | 22 | * @param string $email |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function register($email); |
25 | 26 |
@@ -13,8 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Behat\Mink\Element\NodeElement; |
15 | 15 | use Behat\Mink\Session; |
16 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
17 | -use Symfony\Component\Routing\RequestContext; |
|
18 | 16 | use Symfony\Component\Routing\RouterInterface; |
19 | 17 | |
20 | 18 | /** |
@@ -75,8 +75,8 @@ |
||
75 | 75 | */ |
76 | 76 | final protected function makePathAbsolute($path) |
77 | 77 | { |
78 | - $baseUrl = rtrim($this->getParameter('base_url'), '/').'/'; |
|
78 | + $baseUrl = rtrim($this->getParameter('base_url'), '/') . '/'; |
|
79 | 79 | |
80 | - return 0 !== strpos($path, 'http') ? $baseUrl.ltrim($path, '/') : $path; |
|
80 | + return 0 !== strpos($path, 'http') ? $baseUrl . ltrim($path, '/') : $path; |
|
81 | 81 | } |
82 | 82 | } |
@@ -91,8 +91,8 @@ |
||
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
94 | - * @param array $columns |
|
95 | - * @param array $fields |
|
94 | + * @param NodeElement[] $columns |
|
95 | + * @param string[] $fields |
|
96 | 96 | * |
97 | 97 | * @return bool |
98 | 98 | */ |