Completed
Push — 1.2-symfony-4.0-application ( 618605 )
by Kamil
58:56
created
tests/Controller/ZoneApiTest.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
                 }
85 85
             ]
86 86
         }
87
-EOT;
87
+eot;
88 88
 
89 89
         $this->client->request('POST', '/api/v1/zones/country', [], [], static::$authorizedHeaderWithContentType, $data);
90 90
 
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
                 }
215 215
             ]
216 216
         }
217
-EOT;
217
+eot;
218 218
 
219 219
         $this->client->request('PUT', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
220 220
 
@@ -265,7 +265,7 @@  discard block
 block discarded – undo
265 265
         {
266 266
             "name": "European Union +"
267 267
         }
268
-EOT;
268
+eot;
269 269
 
270 270
         $this->client->request('PATCH', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data);
271 271
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Product/IndexPerTaxonPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -30,8 +30,12 @@
 block discarded – undo
30 30
     /**
31 31
      * @param string $productName
32 32
      * @param int $position
33
+     * @return void
33 34
      */
34 35
     public function setPositionOfProduct($productName, $position);
35 36
 
37
+    /**
38
+     * @return void
39
+     */
36 40
     public function savePositions();
37 41
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductVariant/IndexPageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -38,8 +38,12 @@
 block discarded – undo
38 38
     /**
39 39
      * @param string $name
40 40
      * @param int $position
41
+     * @return void
41 42
      */
42 43
     public function setPosition($name, $position);
43 44
 
45
+    /**
46
+     * @return void
47
+     */
44 48
     public function savePositions();
45 49
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Mailer/Sender/SenderInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@
 block discarded – undo
24 24
      * @param array $data
25 25
      * @param array $attachments
26 26
      * @param array $replyTo
27
+     * @return void
27 28
      */
28 29
     public function send(string $code, array $recipients, array $data = [], array $attachments = [], array $replyTo = []): void;
29 30
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Shop/Product/ShowPageInterface.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
 {
27 27
     /**
28 28
      * @throws ElementNotFoundException
29
+     * @return void
29 30
      */
30 31
     public function addToCart();
31 32
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
      * @param string $quantity
34 35
      *
35 36
      * @throws ElementNotFoundException
37
+     * @return void
36 38
      */
37 39
     public function addToCartWithQuantity($quantity);
38 40
 
@@ -40,6 +42,7 @@  discard block
 block discarded – undo
40 42
      * @param string $variant
41 43
      *
42 44
      * @throws ElementNotFoundException
45
+     * @return void
43 46
      */
44 47
     public function addToCartWithVariant($variant);
45 48
 
@@ -48,6 +51,7 @@  discard block
 block discarded – undo
48 51
      * @param string $optionValue
49 52
      *
50 53
      * @throws ElementNotFoundException
54
+     * @return void
51 55
      */
52 56
     public function addToCartWithOption(ProductOptionInterface $option, $optionValue);
53 57
 
@@ -63,6 +67,7 @@  discard block
 block discarded – undo
63 67
 
64 68
     /**
65 69
      * @param string $url
70
+     * @return void
66 71
      */
67 72
     public function visit($url);
68 73
 
@@ -74,7 +79,7 @@  discard block
 block discarded – undo
74 79
     public function getAttributeByName(string $name): ?string;
75 80
 
76 81
     /**
77
-     * @return array
82
+     * @return \Behat\Mink\Element\NodeElement[]
78 83
      */
79 84
     public function getAttributes();
80 85
 
@@ -87,6 +92,7 @@  discard block
 block discarded – undo
87 92
 
88 93
     /**
89 94
      * @param int $timeout
95
+     * @return void
90 96
      */
91 97
     public function waitForValidationErrors($timeout);
92 98
 
@@ -130,11 +136,13 @@  discard block
 block discarded – undo
130 136
     /**
131 137
      * @param string $optionName
132 138
      * @param string $optionValue
139
+     * @return void
133 140
      */
134 141
     public function selectOption($optionName, $optionValue);
135 142
 
136 143
     /**
137 144
      * @param string $variantName
145
+     * @return void
138 146
      */
139 147
     public function selectVariant($variantName);
140 148
 
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/CreatePageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -23,12 +23,14 @@  discard block
 block discarded – undo
23 23
 {
24 24
     /**
25 25
      * @param string $code
26
+     * @return void
26 27
      */
27 28
     public function specifyCode($code);
28 29
 
29 30
     /**
30 31
      * @param string $name
31 32
      * @param string $language
33
+     * @return void
32 34
      */
33 35
     public function nameIt($name, $language);
34 36
 
@@ -40,19 +42,25 @@  discard block
 block discarded – undo
40 42
     /**
41 43
      * @param string $value
42 44
      * @param string $localeCode
45
+     * @return void
43 46
      */
44 47
     public function addAttributeValue(string $value, string $localeCode): void;
45 48
 
46 49
     /**
47 50
      * @param int $min
51
+     * @return void
48 52
      */
49 53
     public function specifyMinValue(int $min): void;
50 54
 
51 55
     /**
52 56
      * @param int $max
57
+     * @return void
53 58
      */
54 59
     public function specifyMaxValue(int $max): void;
55 60
 
61
+    /**
62
+     * @return void
63
+     */
56 64
     public function checkMultiple(): void;
57 65
 
58 66
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/ProductAttribute/UpdatePageInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
     /**
24 24
      * @param string $name
25 25
      * @param string $language
26
+     * @return void
26 27
      */
27 28
     public function changeName($name, $language);
28 29
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
     /**
40 41
      * @param string $oldValue
41 42
      * @param string $newValue
43
+     * @return void
42 44
      */
43 45
     public function changeAttributeValue(string $oldValue, string $newValue): void;
44 46
 
@@ -52,11 +54,13 @@  discard block
 block discarded – undo
52 54
     /**
53 55
      * @param string $value
54 56
      * @param string $localeCode
57
+     * @return void
55 58
      */
56 59
     public function addAttributeValue(string $value, string $localeCode): void;
57 60
 
58 61
     /**
59 62
      * @param string $value
63
+     * @return void
60 64
      */
61 65
     public function deleteAttributeValue(string $value): void;
62 66
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Context/Setup/ProductContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -198,6 +198,7 @@
 block discarded – undo
198 198
 
199 199
     /**
200 200
      * @Given /^(this product) is(?:| also) priced at ("[^"]+") in ("[^"]+" channel)$/
201
+     * @param integer $price
201 202
      */
202 203
     public function thisProductIsAlsoPricedAtInChannel(ProductInterface $product, $price, ChannelInterface $channel)
203 204
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@  discard block
 block discarded – undo
37 37
 
38 38
     /**
39 39
      * @param string|null $name
40
+     * @return void
40 41
      */
41 42
     public function setName(?string $name): void;
42 43
 
@@ -47,6 +48,7 @@  discard block
 block discarded – undo
47 48
 
48 49
     /**
49 50
      * @param string|null $type
51
+     * @return void
50 52
      */
51 53
     public function setType(?string $type): void;
52 54
 
@@ -57,6 +59,7 @@  discard block
 block discarded – undo
57 59
 
58 60
     /**
59 61
      * @param array $configuration
62
+     * @return void
60 63
      */
61 64
     public function setConfiguration(array $configuration): void;
62 65
 
@@ -67,6 +70,7 @@  discard block
 block discarded – undo
67 70
 
68 71
     /**
69 72
      * @param string $storageType
73
+     * @return void
70 74
      */
71 75
     public function setStorageType(string $storageType): void;
72 76
 
@@ -77,6 +81,7 @@  discard block
 block discarded – undo
77 81
 
78 82
     /**
79 83
      * @param int|null $position
84
+     * @return void
80 85
      */
81 86
     public function setPosition(?int $position): void;
82 87
 
Please login to merge, or discard this patch.