Completed
Push — 1.1-csrf-token-user ( e22bcb...d4c2fb )
by Kamil
17:31
created
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.
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.
src/Sylius/Behat/Page/Admin/ProductVariant/CreatePageInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -22,12 +22,14 @@  discard block
 block discarded – undo
22 22
     /**
23 23
      * @param int $price
24 24
      * @param string $channelName
25
+     * @return void
25 26
      */
26 27
     public function specifyPrice($price, $channelName);
27 28
 
28 29
     /**
29 30
      * @param int $originalPrice
30 31
      * @param string $channelName
32
+     * @return void
31 33
      */
32 34
     public function specifyOriginalPrice($originalPrice, $channelName);
33 35
 
@@ -36,33 +38,39 @@  discard block
 block discarded – undo
36 38
      * @param int $width
37 39
      * @param int $depth
38 40
      * @param int $weight
41
+     * @return void
39 42
      */
40 43
     public function specifyHeightWidthDepthAndWeight($height, $width, $depth, $weight);
41 44
 
42 45
     /**
43 46
      * @param string $code
47
+     * @return void
44 48
      */
45 49
     public function specifyCode($code);
46 50
 
47 51
     /**
48 52
      * @param int $currentStock
53
+     * @return void
49 54
      */
50 55
     public function specifyCurrentStock($currentStock);
51 56
 
52 57
     /**
53 58
      * @param string $name
54 59
      * @param string $language
60
+     * @return void
55 61
      */
56 62
     public function nameItIn($name, $language);
57 63
 
58 64
     /**
59 65
      * @param string $optionName
60 66
      * @param string $optionValue
67
+     * @return void
61 68
      */
62 69
     public function selectOption($optionName, $optionValue);
63 70
 
64 71
     /**
65 72
      * @param string $name
73
+     * @return void
66 74
      */
67 75
     public function choosePricingCalculator($name);
68 76
 
@@ -73,6 +81,7 @@  discard block
 block discarded – undo
73 81
 
74 82
     /**
75 83
      * @param string $shippingCategoryName
84
+     * @return void
76 85
      */
77 86
     public function selectShippingCategory($shippingCategoryName);
78 87
 
@@ -83,6 +92,7 @@  discard block
 block discarded – undo
83 92
 
84 93
     /**
85 94
      * @param bool $isShippingRequired
95
+     * @return void
86 96
      */
87 97
     public function setShippingRequired($isShippingRequired);
88 98
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateConfigurableProductPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -240,7 +240,7 @@
 block discarded – undo
240 240
     /**
241 241
      * @param string $type
242 242
      *
243
-     * @return NodeElement
243
+     * @return string
244 244
      */
245 245
     private function getImageElementByType($type)
246 246
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/UpdateSimpleProductPage.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -428,6 +428,7 @@  discard block
 block discarded – undo
428 428
 
429 429
     /**
430 430
      * {@inheritdoc}
431
+     * @param string $name
431 432
      */
432 433
     protected function getElement($name, array $parameters = [])
433 434
     {
@@ -507,7 +508,7 @@  discard block
 block discarded – undo
507 508
     /**
508 509
      * @param string $type
509 510
      *
510
-     * @return NodeElement
511
+     * @return string
511 512
      */
512 513
     private function getImageElementByType($type)
513 514
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Cart/SummaryPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -299,7 +299,7 @@
 block discarded – undo
299 299
 
300 300
     /**
301 301
      * @param string $attributeName
302
-     * @param string|array $selector
302
+     * @param string $selector
303 303
      *
304 304
      * @return bool
305 305
      *
Please login to merge, or discard this patch.