Completed
Push — resource-classnames ( 503d2e )
by Kamil
18:12
created
src/Sylius/Behat/Page/Admin/ProductVariant/UpdatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -23,10 +23,17 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param bool $enabled
26
+     * @return void
26 27
      */
27 28
     public function setEnabled($enabled);
28 29
 
30
+    /**
31
+     * @return void
32
+     */
29 33
     public function enable();
30 34
 
35
+    /**
36
+     * @return void
37
+     */
31 38
     public function disable();
32 39
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/TaxRate/CreatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -20,33 +20,42 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param string $name
23
+     * @return void
23 24
      */
24 25
     public function specifyFirstName($name);
25 26
 
26 27
     /**
27 28
      * @param string $name
29
+     * @return void
28 30
      */
29 31
     public function specifyLastName($name);
30 32
 
31 33
     /**
32 34
      * @param string $email
35
+     * @return void
33 36
      */
34 37
     public function specifyEmail($email);
35 38
 
36 39
     /**
37 40
      * @param string $birthday
41
+     * @return void
38 42
      */
39 43
     public function specifyBirthday($birthday);
40 44
 
41 45
     /**
42 46
      * @param string $password
47
+     * @return void
43 48
      */
44 49
     public function specifyPassword($password);
45 50
 
46 51
     /**
47 52
      * @param string $gender
53
+     * @return void
48 54
      */
49 55
     public function chooseGender($gender);
50 56
 
57
+    /**
58
+     * @return void
59
+     */
51 60
     public function selectCreateAccount();
52 61
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/DashboardPageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
  */
19 19
 interface PasswordUpdaterInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function updatePassword(CredentialsHolderInterface $user);
22 25
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ProfileUpdatePageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -21,19 +21,25 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RegisterPageInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -26,37 +26,49 @@
 block discarded – undo
26 26
      */
27 27
     public function checkValidationMessageFor($element, $message);
28 28
 
29
+    /**
30
+     * @return void
31
+     */
29 32
     public function register();
30 33
 
31 34
     /**
32 35
      * @param string $email
36
+     * @return void
33 37
      */
34 38
     public function specifyEmail($email);
35 39
 
36 40
     /**
37 41
      * @param string $firstName
42
+     * @return void
38 43
      */
39 44
     public function specifyFirstName($firstName);
40 45
 
41 46
     /**
42 47
      * @param string $lastName
48
+     * @return void
43 49
      */
44 50
     public function specifyLastName($lastName);
45 51
 
46 52
     /**
47 53
      * @param string $password
54
+     * @return void
48 55
      */
49 56
     public function specifyPassword($password);
50 57
 
51 58
     /**
52 59
      * @param string $phoneNumber
60
+     * @return void
53 61
      */
54 62
     public function specifyPhoneNumber($phoneNumber);
55 63
 
56 64
     /**
57 65
      * @param string $password
66
+     * @return void
58 67
      */
59 68
     public function verifyPassword($password);
60 69
 
70
+    /**
71
+     * @return void
72
+     */
61 73
     public function subscribeToTheNewsletter();
62 74
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/VerificationPageInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param string $value
30
+     * @return void
30 31
      */
31 32
     public function setValue($value);
32 33
 }
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Sylius\Behat\Page\Shop\Account;
13 13
 
14 14
 use Sylius\Behat\Page\SymfonyPageInterface;
15
-use Sylius\Component\User\Model\UserInterface;
16 15
 
17 16
 /**
18 17
  * @author Jan Góralski <[email protected]>
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -70,17 +70,20 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/AddressPage.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
     }
305 305
 
306 306
     /**
307
-     * @return bool
307
+     * @return boolean|null
308 308
      */
309 309
     private function waitForLoginAction()
310 310
     {
@@ -314,6 +314,8 @@  discard block
 block discarded – undo
314 314
     }
315 315
 
316 316
     /**
317
+     * @param integer $timeout
318
+     * @param string $elementName
317 319
      * @return bool
318 320
      */
319 321
     private function waitForElement($timeout, $elementName)
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -18,8 +18,6 @@
 block discarded – undo
18 18
 use Sylius\Behat\Page\SymfonyPage;
19 19
 use Sylius\Component\Core\Factory\AddressFactoryInterface;
20 20
 use Sylius\Component\Core\Model\AddressInterface;
21
-use Sylius\Component\Locale\Context\LocaleContextInterface;
22
-use Symfony\Component\Intl\Intl;
23 21
 use Symfony\Component\Routing\RouterInterface;
24 22
 use Webmozart\Assert\Assert;
25 23
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/SelectPaymentPageInterface.php 1 patch
Doc Comments   +13 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 $paymentMethod
23
+     * @return void
23 24
      */
24 25
     public function selectPaymentMethod($paymentMethod);
25 26
     
@@ -37,12 +38,24 @@  discard block
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.