Completed
Branch master (429264)
by Kamil
37:02
created
src/Sylius/Behat/Page/Shop/Checkout/PaymentStepInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,8 +20,12 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SecurityStepInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
31 32
      * @param string $email
32 33
      *
33 34
      * @throws ElementNotFoundException
35
+     * @return void
34 36
      */
35 37
     public function proceedAsGuest($email);
36 38
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/ShippingPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
35 36
      */
36 37
     public function hasNoShippingMethodsMessage();
37 38
 
39
+    /**
40
+     * @return void
41
+     */
38 42
     public function nextStep();
39 43
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/ShippingStepInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -20,8 +20,12 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/ThankYouPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/OrderPaymentsPageInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/User/RegisterPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $email
23
+     * @return void
23 24
      */
24 25
     public function register($email);
25 26
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/SymfonyPage.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,6 @@
 block discarded – undo
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
 /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/Accessor/TableAccessor.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,8 +91,8 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.