Completed
Push — 1.3 ( 398444...af1b9f )
by Kamil
27:59
created
src/Sylius/Behat/Page/Admin/PromotionCoupon/UpdatePageInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -24,13 +24,18 @@
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * @param int $limit
27
+     * @return void
27 28
      */
28 29
     public function setCustomerUsageLimit($limit);
29 30
 
31
+    /**
32
+     * @return void
33
+     */
30 34
     public function setExpiresAt(\DateTimeInterface $date);
31 35
 
32 36
     /**
33 37
      * @param int $limit
38
+     * @return void
34 39
      */
35 40
     public function setUsageLimit($limit);
36 41
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Taxon/UpdatePageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -22,9 +22,13 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @param string $description
24 24
      * @param string $languageCode
25
+     * @return void
25 26
      */
26 27
     public function describeItAs($description, $languageCode);
27 28
 
29
+    /**
30
+     * @return void
31
+     */
28 32
     public function chooseParent(TaxonInterface $taxon);
29 33
 
30 34
     /**
@@ -35,18 +39,21 @@  discard block
 block discarded – undo
35 39
     /**
36 40
      * @param string $name
37 41
      * @param string $languageCode
42
+     * @return void
38 43
      */
39 44
     public function nameIt($name, $languageCode);
40 45
 
41 46
     /**
42 47
      * @param string $slug
43 48
      * @param string $languageCode
49
+     * @return void
44 50
      */
45 51
     public function specifySlug($slug, $languageCode);
46 52
 
47 53
     /**
48 54
      * @param string $path
49 55
      * @param string $type
56
+     * @return void
50 57
      */
51 58
     public function attachImage($path, $type = null);
52 59
 
@@ -66,13 +73,18 @@  discard block
 block discarded – undo
66 73
 
67 74
     /**
68 75
      * @param string $type
76
+     * @return void
69 77
      */
70 78
     public function removeImageWithType($type);
71 79
 
80
+    /**
81
+     * @return void
82
+     */
72 83
     public function removeFirstImage();
73 84
 
74 85
     /**
75 86
      * @param string $languageCode
87
+     * @return void
76 88
      */
77 89
     public function enableSlugModification($languageCode = 'en_US');
78 90
 
@@ -84,11 +96,13 @@  discard block
 block discarded – undo
84 96
     /**
85 97
      * @param string $type
86 98
      * @param string $path
99
+     * @return void
87 100
      */
88 101
     public function changeImageWithType($type, $path);
89 102
 
90 103
     /**
91 104
      * @param string $type
105
+     * @return void
92 106
      */
93 107
     public function modifyFirstImageType($type);
94 108
 
@@ -122,6 +136,7 @@  discard block
 block discarded – undo
122 136
 
123 137
     /**
124 138
      * @param string $locale
139
+     * @return void
125 140
      */
126 141
     public function activateLanguageTab($locale);
127 142
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Zone/UpdatePageInterface.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 $name
23
+     * @return void
23 24
      */
24 25
     public function nameIt($name);
25 26
 
@@ -43,5 +44,8 @@  discard block
 block discarded – undo
43 44
      */
44 45
     public function isCodeDisabled();
45 46
 
47
+    /**
48
+     * @return void
49
+     */
46 50
     public function removeMember(ZoneMemberInterface $zoneMember);
47 51
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/AddressBook/CreatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -18,13 +18,20 @@
 block discarded – undo
18 18
 
19 19
 interface CreatePageInterface extends SymfonyPageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function fillAddressData(AddressInterface $address);
22 25
 
23 26
     /**
24 27
      * @param string $name
28
+     * @return void
25 29
      */
26 30
     public function selectCountry($name);
27 31
 
32
+    /**
33
+     * @return void
34
+     */
28 35
     public function addAddress();
29 36
 
30 37
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/RequestPasswordResetPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -19,10 +19,14 @@
 block discarded – undo
19 19
 {
20 20
     public function checkValidationMessageFor(string $element, string $message): bool;
21 21
 
22
+    /**
23
+     * @return void
24
+     */
22 25
     public function reset();
23 26
 
24 27
     /**
25 28
      * @param string $email
29
+     * @return void
26 30
      */
27 31
     public function specifyEmail($email);
28 32
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Account/ResetPasswordPageInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -17,10 +17,19 @@
 block discarded – undo
17 17
 
18 18
 interface ResetPasswordPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function reset(): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyNewPassword(string $password): void;
23 29
 
30
+    /**
31
+     * @return void
32
+     */
24 33
     public function specifyConfirmPassword(string $password): void;
25 34
 
26 35
     public function checkValidationMessageFor(string $element, string $message): bool;
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Checkout/AddressPageInterface.php 1 patch
Doc Comments   +31 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@  discard block
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @throws \RuntimeException
23
+     * @return void
23 24
      */
24 25
     public function chooseDifferentBillingAddress();
25 26
 
@@ -36,17 +37,25 @@  discard block
 block discarded – undo
36 37
      */
37 38
     public function checkValidationMessageFor($element, $message);
38 39
 
40
+    /**
41
+     * @return void
42
+     */
39 43
     public function specifyBillingAddress(AddressInterface $billingAddress);
40 44
 
41 45
     /**
42 46
      * @param string $province
47
+     * @return void
43 48
      */
44 49
     public function selectBillingAddressProvince($province);
45 50
 
51
+    /**
52
+     * @return void
53
+     */
46 54
     public function specifyShippingAddress(AddressInterface $shippingAddress);
47 55
 
48 56
     /**
49 57
      * @param string $province
58
+     * @return void
50 59
      */
51 60
     public function selectShippingAddressProvince($province);
52 61
 
@@ -55,17 +64,25 @@  discard block
 block discarded – undo
55 64
      */
56 65
     public function canSignIn();
57 66
 
67
+    /**
68
+     * @return void
69
+     */
58 70
     public function signIn();
59 71
 
60 72
     /**
61 73
      * @param string $email
74
+     * @return void
62 75
      */
63 76
     public function specifyEmail($email);
64 77
 
78
+    /**
79
+     * @return void
80
+     */
65 81
     public function specifyShippingAddressFullName(string $fullName);
66 82
 
67 83
     /**
68 84
      * @param string $password
85
+     * @return void
69 86
      */
70 87
     public function specifyPassword($password);
71 88
 
@@ -81,17 +98,25 @@  discard block
 block discarded – undo
81 98
      */
82 99
     public function getShippingAddressCountry();
83 100
 
101
+    /**
102
+     * @return void
103
+     */
84 104
     public function nextStep();
85 105
 
106
+    /**
107
+     * @return void
108
+     */
86 109
     public function backToStore();
87 110
 
88 111
     /**
89 112
      * @param string $provinceName
113
+     * @return void
90 114
      */
91 115
     public function specifyBillingAddressProvince($provinceName);
92 116
 
93 117
     /**
94 118
      * @param string $provinceName
119
+     * @return void
95 120
      */
96 121
     public function specifyShippingAddressProvince($provinceName);
97 122
 
@@ -105,8 +130,14 @@  discard block
 block discarded – undo
105 130
      */
106 131
     public function hasBillingAddressInput();
107 132
 
133
+    /**
134
+     * @return void
135
+     */
108 136
     public function selectShippingAddressFromAddressBook(AddressInterface $address);
109 137
 
138
+    /**
139
+     * @return void
140
+     */
110 141
     public function selectBillingAddressFromAddressBook(AddressInterface $address);
111 142
 
112 143
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 1 patch
Doc Comments   +12 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@  discard block
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @throws ElementNotFoundException
25
+     * @return void
25 26
      */
26 27
     public function addToCart();
27 28
 
@@ -29,6 +30,7 @@  discard block
 block discarded – undo
29 30
      * @param string $quantity
30 31
      *
31 32
      * @throws ElementNotFoundException
33
+     * @return void
32 34
      */
33 35
     public function addToCartWithQuantity($quantity);
34 36
 
@@ -36,6 +38,7 @@  discard block
 block discarded – undo
36 38
      * @param string $variant
37 39
      *
38 40
      * @throws ElementNotFoundException
41
+     * @return void
39 42
      */
40 43
     public function addToCartWithVariant($variant);
41 44
 
@@ -43,6 +46,7 @@  discard block
 block discarded – undo
43 46
      * @param string $optionValue
44 47
      *
45 48
      * @throws ElementNotFoundException
49
+     * @return void
46 50
      */
47 51
     public function addToCartWithOption(ProductOptionInterface $option, $optionValue);
48 52
 
@@ -58,13 +62,17 @@  discard block
 block discarded – undo
58 62
 
59 63
     /**
60 64
      * @param string $url
65
+     * @return void
61 66
      */
62 67
     public function visit($url);
63 68
 
69
+    /**
70
+     * @return null|string
71
+     */
64 72
     public function getAttributeByName(string $name): ?string;
65 73
 
66 74
     /**
67
-     * @return array
75
+     * @return \Behat\Mink\Element\NodeElement[]
68 76
      */
69 77
     public function getAttributes();
70 78
 
@@ -75,6 +83,7 @@  discard block
 block discarded – undo
75 83
 
76 84
     /**
77 85
      * @param int $timeout
86
+     * @return void
78 87
      */
79 88
     public function waitForValidationErrors($timeout);
80 89
 
@@ -118,11 +127,13 @@  discard block
 block discarded – undo
118 127
     /**
119 128
      * @param string $optionName
120 129
      * @param string $optionValue
130
+     * @return void
121 131
      */
122 132
     public function selectOption($optionName, $optionValue);
123 133
 
124 134
     /**
125 135
      * @param string $variantName
136
+     * @return void
126 137
      */
127 138
     public function selectVariant($variantName);
128 139
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Service/ResponseLoader.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -84,6 +84,7 @@  discard block
 block discarded – undo
84 84
 
85 85
     /**
86 86
      * @param string $source
87
+     * @param string $content
87 88
      *
88 89
      * @throws \RuntimeException
89 90
      */
@@ -96,6 +97,7 @@  discard block
 block discarded – undo
96 97
 
97 98
     /**
98 99
      * @param string $source
100
+     * @param string $content
99 101
      *
100 102
      * @throws \RuntimeException
101 103
      */
Please login to merge, or discard this patch.