Completed
Push — 1.3 ( af1b9f...c8d8d9 )
by Kamil
11:50
created
src/Sylius/Behat/Page/Admin/ShippingCategory/CreatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,16 +19,19 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param string $code
22
+     * @return void
22 23
      */
23 24
     public function specifyCode($code);
24 25
 
25 26
     /**
26 27
      * @param string $name
28
+     * @return void
27 29
      */
28 30
     public function nameIt($name);
29 31
 
30 32
     /**
31 33
      * @param string $description
34
+     * @return void
32 35
      */
33 36
     public function specifyDescription($description);
34 37
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Element/Shop/Account/RegisterElementInterface.php 1 patch
Doc Comments   +26 added lines patch added patch discarded remove patch
@@ -13,21 +13,47 @@
 block discarded – undo
13 13
      */
14 14
     public function checkValidationMessageFor(string $element, string $message): bool;
15 15
 
16
+    /**
17
+     * @return void
18
+     */
16 19
     public function register(): void;
17 20
 
21
+    /**
22
+     * @return void
23
+     */
18 24
     public function specifyEmail(?string $email): void;
19 25
 
20 26
     public function getEmail(): string;
21 27
 
28
+    /**
29
+     * @return void
30
+     */
22 31
     public function specifyFirstName(?string $firstName): void;
23 32
 
33
+    /**
34
+     * @return void
35
+     */
24 36
     public function specifyLastName(?string $lastName): void;
25 37
 
38
+    /**
39
+     * @return void
40
+     */
26 41
     public function specifyPassword(?string $password): void;
27 42
 
43
+    /**
44
+     * @return void
45
+     */
28 46
     public function specifyPhoneNumber(string $phoneNumber): void;
29 47
 
48
+    /**
49
+     * @param string|null $password
50
+     *
51
+     * @return void
52
+     */
30 53
     public function verifyPassword(?string $password): void;
31 54
 
55
+    /**
56
+     * @return void
57
+     */
32 58
     public function subscribeToTheNewsletter(): void;
33 59
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Order/ThankYouPageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@  discard block
 block discarded – undo
17 17
 
18 18
 interface ThankYouPageInterface extends SymfonyPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function goToOrderDetails();
21 24
 
22 25
     /**
@@ -41,5 +44,8 @@  discard block
 block discarded – undo
41 44
 
42 45
     public function hasRegistrationButton(): bool;
43 46
 
47
+    /**
48
+     * @return void
49
+     */
44 50
     public function createAccount(): void;
45 51
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param string $taxonName
22
+     * @return void
22 23
      */
23 24
     public function filterByTaxon($taxonName);
24 25
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/IndexPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param string $fieldName
42
+     * @return void
42 43
      */
43 44
     public function sortBy($fieldName);
44 45
 
@@ -52,6 +53,9 @@  discard block
 block discarded – undo
52 53
      */
53 54
     public function getActionsForResource(array $parameters);
54 55
 
56
+    /**
57
+     * @return void
58
+     */
55 59
     public function checkResourceOnPage(array $parameters): void;
56 60
 
57 61
     /**
@@ -59,7 +63,13 @@  discard block
 block discarded – undo
59 63
      */
60 64
     public function countItems();
61 65
 
66
+    /**
67
+     * @return void
68
+     */
62 69
     public function filter();
63 70
 
71
+    /**
72
+     * @return void
73
+     */
64 74
     public function bulkDelete(): void;
65 75
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/IndexPageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -17,27 +17,37 @@
 block discarded – undo
17 17
 
18 18
 interface IndexPageInterface extends BaseIndexPageInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function specifyFilterDateFrom(string $dateTime);
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function specifyFilterDateTo(string $dateTime);
23 29
 
24 30
     /**
25 31
      * @param string $channelName
32
+     * @return void
26 33
      */
27 34
     public function chooseChannelFilter($channelName);
28 35
 
29 36
     /**
30 37
      * @param string $currencyName
38
+     * @return void
31 39
      */
32 40
     public function chooseCurrencyFilter($currencyName);
33 41
 
34 42
     /**
35 43
      * @param string $total
44
+     * @return void
36 45
      */
37 46
     public function specifyFilterTotalGreaterThan($total);
38 47
 
39 48
     /**
40 49
      * @param string $total
50
+     * @return void
41 51
      */
42 52
     public function specifyFilterTotalLessThan($total);
43 53
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/ShowPageInterface.php 1 patch
Doc Comments   +17 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 $customerName
23
+     * @return boolean
23 24
      */
24 25
     public function hasCustomer($customerName);
25 26
 
@@ -54,6 +55,7 @@  discard block
 block discarded – undo
54 55
 
55 56
     /**
56 57
      * @param string $code
58
+     * @return void
57 59
      */
58 60
     public function specifyTrackingCode($code);
59 61
 
@@ -62,6 +64,9 @@  discard block
 block discarded – undo
62 64
      */
63 65
     public function canShipOrder(OrderInterface $order);
64 66
 
67
+    /**
68
+     * @return void
69
+     */
65 70
     public function shipOrder(OrderInterface $order);
66 71
 
67 72
     /**
@@ -76,8 +81,14 @@  discard block
 block discarded – undo
76 81
      */
77 82
     public function canCompleteOrderLastPayment(OrderInterface $order);
78 83
 
84
+    /**
85
+     * @return void
86
+     */
79 87
     public function completeOrderLastPayment(OrderInterface $order);
80 88
 
89
+    /**
90
+     * @return void
91
+     */
81 92
     public function refundOrderLastPayment(OrderInterface $order);
82 93
 
83 94
     /**
@@ -231,8 +242,14 @@  discard block
 block discarded – undo
231 242
      */
232 243
     public function getShippingState();
233 244
 
245
+    /**
246
+     * @return void
247
+     */
234 248
     public function cancelOrder();
235 249
 
250
+    /**
251
+     * @return void
252
+     */
236 253
     public function deleteOrder();
237 254
 
238 255
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,8 +18,14 @@
 block discarded – undo
18 18
 
19 19
 interface UpdatePageInterface extends BaseUpdatePageInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function specifyShippingAddress(AddressInterface $address);
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function specifyBillingAddress(AddressInterface $address);
24 30
 
25 31
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/CreateSimpleProductPageInterface.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -21,39 +21,46 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @param string $channelName
23 23
      * @param int $price
24
+     * @return void
24 25
      */
25 26
     public function specifyPrice($channelName, $price);
26 27
 
27 28
     /**
28 29
      * @param string $channelName
29 30
      * @param int $originalPrice
31
+     * @return void
30 32
      */
31 33
     public function specifyOriginalPrice($channelName, $originalPrice);
32 34
 
33 35
     /**
34 36
      * @param string $name
37
+     * @return void
35 38
      */
36 39
     public function choosePricingCalculator($name);
37 40
 
38 41
     /**
39 42
      * @param string $channelName
43
+     * @return void
40 44
      */
41 45
     public function checkChannel($channelName);
42 46
 
43 47
     /**
44 48
      * @param string $code
49
+     * @return void
45 50
      */
46 51
     public function specifyCode($code);
47 52
 
48 53
     /**
49 54
      * @param string $name
50 55
      * @param string $localeCode
56
+     * @return void
51 57
      */
52 58
     public function nameItIn($name, $localeCode);
53 59
 
54 60
     /**
55 61
      * @param string $slug
56 62
      * @param string $locale
63
+     * @return void
57 64
      */
58 65
     public function specifySlugIn($slug, $locale);
59 66
 
@@ -61,6 +68,7 @@  discard block
 block discarded – undo
61 68
      * @param string $attributeName
62 69
      * @param string $value
63 70
      * @param string $localeCode
71
+     * @return void
64 72
      */
65 73
     public function addAttribute($attributeName, $value, $localeCode);
66 74
 
@@ -75,37 +83,44 @@  discard block
 block discarded – undo
75 83
     /**
76 84
      * @param string $attributeName
77 85
      * @param string $localeCode
86
+     * @return void
78 87
      */
79 88
     public function removeAttribute($attributeName, $localeCode);
80 89
 
81 90
     /**
82 91
      * @param string $path
83 92
      * @param string $type
93
+     * @return void
84 94
      */
85 95
     public function attachImage($path, $type = null);
86 96
 
87 97
     /**
88 98
      * @param string[] $productsNames
99
+     * @return void
89 100
      */
90 101
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
91 102
 
92 103
     /**
93 104
      * @param string $productName
105
+     * @return void
94 106
      */
95 107
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
96 108
 
97 109
     /**
98 110
      * @param string $locale
111
+     * @return void
99 112
      */
100 113
     public function activateLanguageTab($locale);
101 114
 
102 115
     /**
103 116
      * @param string $shippingCategoryName
117
+     * @return void
104 118
      */
105 119
     public function selectShippingCategory($shippingCategoryName);
106 120
 
107 121
     /**
108 122
      * @param bool $isShippingRequired
123
+     * @return void
109 124
      */
110 125
     public function setShippingRequired($isShippingRequired);
111 126
 }
Please login to merge, or discard this patch.