Completed
Push — 1.2-symfony4-packages ( 39ce77...14945a )
by Kamil
18:11
created
src/Sylius/Component/Addressing/Model/ProvinceInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param string|null $name
28
+     * @return void
28 29
      */
29 30
     public function setName(?string $name): void;
30 31
 
@@ -35,6 +36,7 @@  discard block
 block discarded – undo
35 36
 
36 37
     /**
37 38
      * @param string|null $abbreviation
39
+     * @return void
38 40
      */
39 41
     public function setAbbreviation(?string $abbreviation): void;
40 42
 
@@ -45,6 +47,7 @@  discard block
 block discarded – undo
45 47
 
46 48
     /**
47 49
      * @param CountryInterface|null $country
50
+     * @return void
48 51
      */
49 52
     public function setCountry(?CountryInterface $country): void;
50 53
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductOptionValueInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param ProductOptionInterface|null $option
30
+     * @return void
30 31
      */
31 32
     public function setOption(?ProductOptionInterface $option): void;
32 33
 
@@ -37,6 +38,7 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param string|null $value
41
+     * @return void
40 42
      */
41 43
     public function setValue(?string $value): void;
42 44
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Model/ThemeInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -32,6 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * @param string|null $title
35
+     * @return void
35 36
      */
36 37
     public function setTitle(?string $title): void;
37 38
 
@@ -42,6 +43,7 @@  discard block
 block discarded – undo
42 43
 
43 44
     /**
44 45
      * @param string|null $description
46
+     * @return void
45 47
      */
46 48
     public function setDescription(?string $description): void;
47 49
 
@@ -52,11 +54,13 @@  discard block
 block discarded – undo
52 54
 
53 55
     /**
54 56
      * @param ThemeAuthor $author
57
+     * @return void
55 58
      */
56 59
     public function addAuthor(ThemeAuthor $author): void;
57 60
 
58 61
     /**
59 62
      * @param ThemeAuthor $author
63
+     * @return void
60 64
      */
61 65
     public function removeAuthor(ThemeAuthor $author): void;
62 66
 
@@ -67,11 +71,13 @@  discard block
 block discarded – undo
67 71
 
68 72
     /**
69 73
      * @param ThemeInterface $theme
74
+     * @return void
70 75
      */
71 76
     public function addParent(self $theme): void;
72 77
 
73 78
     /**
74 79
      * @param ThemeInterface $theme
80
+     * @return void
75 81
      */
76 82
     public function removeParent(self $theme): void;
77 83
 
@@ -82,11 +88,13 @@  discard block
 block discarded – undo
82 88
 
83 89
     /**
84 90
      * @param ThemeScreenshot $screenshot
91
+     * @return void
85 92
      */
86 93
     public function addScreenshot(ThemeScreenshot $screenshot): void;
87 94
 
88 95
     /**
89 96
      * @param ThemeScreenshot $screenshot
97
+     * @return void
90 98
      */
91 99
     public function removeScreenshot(ThemeScreenshot $screenshot): void;
92 100
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Taxonomy/Model/TaxonInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param TaxonInterface|null $taxon
42
+     * @return void
42 43
      */
43 44
     public function setParent(?self $taxon): void;
44 45
 
@@ -66,11 +67,13 @@  discard block
 block discarded – undo
66 67
 
67 68
     /**
68 69
      * @param TaxonInterface $taxon
70
+     * @return void
69 71
      */
70 72
     public function addChild(self $taxon): void;
71 73
 
72 74
     /**
73 75
      * @param TaxonInterface $taxon
76
+     * @return void
74 77
      */
75 78
     public function removeChild(self $taxon): void;
76 79
 
@@ -81,6 +84,7 @@  discard block
 block discarded – undo
81 84
 
82 85
     /**
83 86
      * @param string|null $name
87
+     * @return void
84 88
      */
85 89
     public function setName(?string $name): void;
86 90
 
@@ -91,6 +95,7 @@  discard block
 block discarded – undo
91 95
 
92 96
     /**
93 97
      * @param string|null $description
98
+     * @return void
94 99
      */
95 100
     public function setDescription(?string $description): void;
96 101
 
@@ -101,6 +106,7 @@  discard block
 block discarded – undo
101 106
 
102 107
     /**
103 108
      * @param int|null $left
109
+     * @return void
104 110
      */
105 111
     public function setLeft(?int $left): void;
106 112
 
@@ -111,6 +117,7 @@  discard block
 block discarded – undo
111 117
 
112 118
     /**
113 119
      * @param int|null $right
120
+     * @return void
114 121
      */
115 122
     public function setRight(?int $right): void;
116 123
 
@@ -121,6 +128,7 @@  discard block
 block discarded – undo
121 128
 
122 129
     /**
123 130
      * @param int|null $level
131
+     * @return void
124 132
      */
125 133
     public function setLevel(?int $level): void;
126 134
 
@@ -131,6 +139,7 @@  discard block
 block discarded – undo
131 139
 
132 140
     /**
133 141
      * @param int|null $position
142
+     * @return void
134 143
      */
135 144
     public function setPosition(?int $position): void;
136 145
 
Please login to merge, or discard this patch.
tests/Controller/ProductReviewApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
             "email": "[email protected]"
129 129
           }
130 130
         }
131
-EOT;
131
+eot;
132 132
 
133 133
         $this->client->request('POST', $this->getReviewListUrl($product), [], [], static::$authorizedHeaderWithContentType, $data);
134 134
         $response = $this->client->getResponse();
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
             "rating": "1",
220 220
             "comment": "NEW_REVIEW_COMMENT"
221 221
         }
222
-EOT;
222
+eot;
223 223
         $this->client->request('PUT', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data);
224 224
         $response = $this->client->getResponse();
225 225
 
@@ -246,7 +246,7 @@  discard block
 block discarded – undo
246 246
         {
247 247
             "comment": "A_NEW_REVIEW_COMMENT"
248 248
         }
249
-EOT;
249
+eot;
250 250
 
251 251
         $this->client->request('PATCH', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data);
252 252
         $response = $this->client->getResponse();
Please login to merge, or discard this patch.
tests/Controller/ChannelApiTest.php 1 patch
Upper-Lower-Casing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             "defaultLocale": "en_US",
130 130
             "enabled": true
131 131
         }
132
-EOT;
132
+eot;
133 133
 
134 134
         $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data);
135 135
 
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
             "skippingPaymentStepAllowed": true,
169 169
             "accountVerificationRequired": false
170 170
         }
171
-EOT;
171
+eot;
172 172
 
173 173
         $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data);
174 174
 
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
             "hostname": "localhost",
226 226
             "taxCalculationStrategy": "order_items_based"
227 227
         }
228
-EOT;
228
+eot;
229 229
 
230 230
         $this->client->request('PUT', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data);
231 231
 
@@ -284,7 +284,7 @@  discard block
 block discarded – undo
284 284
             "color": "black",
285 285
             "enabled": false
286 286
         }
287
-EOT;
287
+eot;
288 288
 
289 289
         $this->client->request('PATCH', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data);
290 290
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductOption/UpdatePageInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
     /**
26 26
      * @param string $name
27 27
      * @param string $languageCode
28
+     * @return void
28 29
      */
29 30
     public function nameItIn($name, $languageCode);
30 31
 
@@ -36,11 +37,13 @@  discard block
 block discarded – undo
36 37
     /**
37 38
      * @param string $code
38 39
      * @param string $value
40
+     * @return void
39 41
      */
40 42
     public function addOptionValue($code, $value);
41 43
 
42 44
     /**
43 45
      * @param string $optionValue
46
+     * @return void
44 47
      */
45 48
     public function removeOptionValue($optionValue);
46 49
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 1 patch
Doc Comments   +8 added 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
 
@@ -44,6 +47,7 @@  discard block
 block discarded – undo
44 47
      * @param string $optionValue
45 48
      *
46 49
      * @throws ElementNotFoundException
50
+     * @return void
47 51
      */
48 52
     public function addToCartWithOption(ProductOptionInterface $option, $optionValue);
49 53
 
@@ -59,6 +63,7 @@  discard block
 block discarded – undo
59 63
 
60 64
     /**
61 65
      * @param string $url
66
+     * @return void
62 67
      */
63 68
     public function visit($url);
64 69
 
@@ -83,6 +88,7 @@  discard block
 block discarded – undo
83 88
 
84 89
     /**
85 90
      * @param int $timeout
91
+     * @return void
86 92
      */
87 93
     public function waitForValidationErrors($timeout);
88 94
 
@@ -126,11 +132,13 @@  discard block
 block discarded – undo
126 132
     /**
127 133
      * @param string $optionName
128 134
      * @param string $optionValue
135
+     * @return void
129 136
      */
130 137
     public function selectOption($optionName, $optionValue);
131 138
 
132 139
     /**
133 140
      * @param string $variantName
141
+     * @return void
134 142
      */
135 143
     public function selectVariant($variantName);
136 144
 
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
@@ -23,39 +23,46 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @param string $channelName
25 25
      * @param int $price
26
+     * @return void
26 27
      */
27 28
     public function specifyPrice($channelName, $price);
28 29
 
29 30
     /**
30 31
      * @param string $channelName
31 32
      * @param int $originalPrice
33
+     * @return void
32 34
      */
33 35
     public function specifyOriginalPrice($channelName, $originalPrice);
34 36
 
35 37
     /**
36 38
      * @param string $name
39
+     * @return void
37 40
      */
38 41
     public function choosePricingCalculator($name);
39 42
 
40 43
     /**
41 44
      * @param string $channelName
45
+     * @return void
42 46
      */
43 47
     public function checkChannel($channelName);
44 48
 
45 49
     /**
46 50
      * @param string $code
51
+     * @return void
47 52
      */
48 53
     public function specifyCode($code);
49 54
 
50 55
     /**
51 56
      * @param string $name
52 57
      * @param string $localeCode
58
+     * @return void
53 59
      */
54 60
     public function nameItIn($name, $localeCode);
55 61
 
56 62
     /**
57 63
      * @param string $slug
58 64
      * @param string $locale
65
+     * @return void
59 66
      */
60 67
     public function specifySlugIn($slug, $locale);
61 68
 
@@ -63,6 +70,7 @@  discard block
 block discarded – undo
63 70
      * @param string $attributeName
64 71
      * @param string $value
65 72
      * @param string $localeCode
73
+     * @return void
66 74
      */
67 75
     public function addAttribute($attributeName, $value, $localeCode);
68 76
 
@@ -77,39 +85,46 @@  discard block
 block discarded – undo
77 85
     /**
78 86
      * @param string $attributeName
79 87
      * @param string $localeCode
88
+     * @return void
80 89
      */
81 90
     public function removeAttribute($attributeName, $localeCode);
82 91
 
83 92
     /**
84 93
      * @param string $path
85 94
      * @param string $type
95
+     * @return void
86 96
      */
87 97
     public function attachImage($path, $type = null);
88 98
 
89 99
     /**
90 100
      * @param ProductAssociationTypeInterface $productAssociationType
91 101
      * @param string[] $productsNames
102
+     * @return void
92 103
      */
93 104
     public function associateProducts(ProductAssociationTypeInterface $productAssociationType, array $productsNames);
94 105
 
95 106
     /**
96 107
      * @param string $productName
97 108
      * @param ProductAssociationTypeInterface $productAssociationType
109
+     * @return void
98 110
      */
99 111
     public function removeAssociatedProduct($productName, ProductAssociationTypeInterface $productAssociationType);
100 112
 
101 113
     /**
102 114
      * @param string $locale
115
+     * @return void
103 116
      */
104 117
     public function activateLanguageTab($locale);
105 118
 
106 119
     /**
107 120
      * @param string $shippingCategoryName
121
+     * @return void
108 122
      */
109 123
     public function selectShippingCategory($shippingCategoryName);
110 124
 
111 125
     /**
112 126
      * @param bool $isShippingRequired
127
+     * @return void
113 128
      */
114 129
     public function setShippingRequired($isShippingRequired);
115 130
 }
Please login to merge, or discard this patch.