Completed
Push — master ( 81dbd1...75223d )
by Kamil
24:14
created
src/Sylius/Bundle/PayumBundle/Request/ResolveNextRouteInterface.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -6,11 +6,20 @@
 block discarded – undo
6 6
 
7 7
 interface ResolveNextRouteInterface
8 8
 {
9
+    /**
10
+     * @return string
11
+     */
9 12
     public function getRouteName(): ?string;
10 13
 
14
+    /**
15
+     * @return void
16
+     */
11 17
     public function setRouteName(string $routeName): void;
12 18
 
13 19
     public function getRouteParameters(): array;
14 20
 
21
+    /**
22
+     * @return void
23
+     */
15 24
     public function setRouteParameters(array $parameters): void;
16 25
 }
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/Bundle/ResourceBundle/Controller/RequestConfiguration.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     /**
174 174
      * @param $name
175 175
      *
176
-     * @return mixed|string|null
176
+     * @return string
177 177
      */
178 178
     public function getRedirectRoute($name)
179 179
     {
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
     }
234 234
 
235 235
     /**
236
-     * @param object|null $resource
236
+     * @param \Sylius\Component\Resource\Model\ResourceInterface|null $resource
237 237
      *
238 238
      * @return array
239 239
      */
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
     }
377 377
 
378 378
     /**
379
-     * @param $parameter
379
+     * @param string $parameter
380 380
      * @param array $defaults
381 381
      *
382 382
      * @return array
@@ -480,7 +480,7 @@  discard block
 block discarded – undo
480 480
     }
481 481
 
482 482
     /**
483
-     * @return mixed|null
483
+     * @return string
484 484
      */
485 485
     public function getSerializationVersion()
486 486
     {
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.
tests/Controller/ProductAttributeApiTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -333,7 +333,7 @@
 block discarded – undo
333 333
 
334 334
     /**
335 335
      * @param Response $response
336
-     * @param array|string[] $expectedChoiceValues
336
+     * @param string[] $expectedChoiceValues
337 337
      */
338 338
     private function assertSelectChoicesInResponse(Response $response, array $expectedChoiceValues): void
339 339
     {
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
 
@@ -39,19 +41,25 @@  discard block
 block discarded – undo
39 41
 
40 42
     /**
41 43
      * @param string $value
44
+     * @return void
42 45
      */
43 46
     public function addAttributeValue($value);
44 47
 
45 48
     /**
46 49
      * @param int $min
50
+     * @return void
47 51
      */
48 52
     public function specifyMinValue(int $min): void;
49 53
 
50 54
     /**
51 55
      * @param int $max
56
+     * @return void
52 57
      */
53 58
     public function specifyMaxValue(int $max): void;
54 59
 
60
+    /**
61
+     * @return void
62
+     */
55 63
     public function checkMultiple(): void;
56 64
 
57 65
     /**
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
 
@@ -51,11 +53,13 @@  discard block
 block discarded – undo
51 53
 
52 54
     /**
53 55
      * @param string $value
56
+     * @return void
54 57
      */
55 58
     public function addAttributeValue(string $value): void;
56 59
 
57 60
     /**
58 61
      * @param string $value
62
+     * @return void
59 63
      */
60 64
     public function deleteAttributeValue(string $value): void;
61 65
 }
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.