Completed
Push — 1.0-adjust-cs ( dde5cf )
by Kamil
27:56
created
src/Sylius/Behat/Context/Ui/Admin/ManagingProductsContext.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -259,6 +259,7 @@
 block discarded – undo
259 259
      * @Then the product :productName should appear in the store
260 260
      * @Then the product :productName should be in the shop
261 261
      * @Then this product should still be named :productName
262
+     * @param string|null $productName
262 263
      */
263 264
     public function theProductShouldAppearInTheShop($productName)
264 265
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Taxation/Model/TaxRateInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param TaxCategoryInterface|null $category
32
+     * @return void
32 33
      */
33 34
     public function setCategory(?TaxCategoryInterface $category): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $name
43
+     * @return void
42 44
      */
43 45
     public function setName(?string $name): void;
44 46
 
@@ -54,6 +56,7 @@  discard block
 block discarded – undo
54 56
 
55 57
     /**
56 58
      * @param float|null $amount
59
+     * @return void
57 60
      */
58 61
     public function setAmount(?float $amount): void;
59 62
 
@@ -64,6 +67,7 @@  discard block
 block discarded – undo
64 67
 
65 68
     /**
66 69
      * @param bool|null $includedInPrice
70
+     * @return void
67 71
      */
68 72
     public function setIncludedInPrice(?bool $includedInPrice): void;
69 73
 
@@ -74,6 +78,7 @@  discard block
 block discarded – undo
74 78
 
75 79
     /**
76 80
      * @param string|null $calculator
81
+     * @return void
77 82
      */
78 83
     public function setCalculator(?string $calculator): void;
79 84
 
Please login to merge, or discard this patch.
src/Sylius/Bundle/UserBundle/Controller/UserController.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -285,6 +285,7 @@
 block discarded – undo
285 285
 
286 286
     /**
287 287
      * {@inheritdoc}
288
+     * @param string $type
288 289
      */
289 290
     protected function addFlash($type, $message): void
290 291
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Grid/Data/DataSourceInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
     /**
27 27
      * @param mixed $expression
28 28
      * @param string $condition
29
+     * @return void
29 30
      */
30 31
     public function restrict($expression, string $condition = self::CONDITION_AND): void;
31 32
 
@@ -37,7 +38,7 @@  discard block
 block discarded – undo
37 38
     /**
38 39
      * @param Parameters $parameters
39 40
      *
40
-     * @return mixed
41
+     * @return \Pagerfanta\Pagerfanta
41 42
      */
42 43
     public function getData(Parameters $parameters);
43 44
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeValueInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param AttributeSubjectInterface|null $subject
38
+     * @return void
38 39
      */
39 40
     public function setSubject(?AttributeSubjectInterface $subject): void;
40 41
 
@@ -46,6 +47,7 @@  discard block
 block discarded – undo
46 47
 
47 48
     /**
48 49
      * @param AttributeInterface|null $attribute
50
+     * @return void
49 51
      */
50 52
     public function setAttribute(?AttributeInterface $attribute): void;
51 53
 
@@ -56,6 +58,7 @@  discard block
 block discarded – undo
56 58
 
57 59
     /**
58 60
      * @param mixed $value
61
+     * @return void
59 62
      */
60 63
     public function setValue($value): void;
61 64
 
@@ -83,6 +86,7 @@  discard block
 block discarded – undo
83 86
 
84 87
     /**
85 88
      * @param string|null $localeCode
89
+     * @return void
86 90
      */
87 91
     public function setLocaleCode(?string $localeCode): void;
88 92
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/AdjustableInterface.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -29,11 +29,13 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param AdjustmentInterface $adjustment
32
+     * @return void
32 33
      */
33 34
     public function addAdjustment(AdjustmentInterface $adjustment): void;
34 35
 
35 36
     /**
36 37
      * @param AdjustmentInterface $adjustment
38
+     * @return void
37 39
      */
38 40
     public function removeAdjustment(AdjustmentInterface $adjustment): void;
39 41
 
@@ -46,11 +48,13 @@  discard block
 block discarded – undo
46 48
 
47 49
     /**
48 50
      * @param string|null $type
51
+     * @return void
49 52
      */
50 53
     public function removeAdjustments(?string $type = null): void;
51 54
 
52 55
     /**
53 56
      * Recalculates adjustments total. Should be used after adjustment change.
57
+     * @return void
54 58
      */
55 59
     public function recalculateAdjustmentsTotal(): void;
56 60
 }
Please login to merge, or discard this patch.
Sylius/Bundle/CoreBundle/Fixture/Factory/PaymentMethodExampleFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -133,7 +133,7 @@
 block discarded – undo
133 133
     }
134 134
 
135 135
     /**
136
-     * @return iterable
136
+     * @return \Generator
137 137
      */
138 138
     private function getLocales(): iterable
139 139
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Country/UpdatePageInterface.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -20,8 +20,14 @@  discard block
 block discarded – undo
20 20
  */
21 21
 interface UpdatePageInterface extends BaseUpdatePageInterface
22 22
 {
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function enable();
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function disable();
26 32
 
27 33
     /**
@@ -47,28 +53,36 @@  discard block
 block discarded – undo
47 53
      * @param string $name
48 54
      * @param string $code
49 55
      * @param string|null $abbreviation
56
+     * @return void
50 57
      */
51 58
     public function addProvince($name, $code, $abbreviation = null);
52 59
 
53 60
     /**
54 61
      * @param string $provinceName
62
+     * @return void
55 63
      */
56 64
     public function removeProvince($provinceName);
57 65
 
66
+    /**
67
+     * @return void
68
+     */
58 69
     public function clickAddProvinceButton();
59 70
 
60 71
     /**
61 72
      * @param string $provinceName
73
+     * @return void
62 74
      */
63 75
     public function nameProvince($provinceName);
64 76
 
65 77
     /**
66 78
      * @param string $provinceName
79
+     * @return void
67 80
      */
68 81
     public function removeProvinceName($provinceName);
69 82
 
70 83
     /**
71 84
      * @param string $provinceCode
85
+     * @return void
72 86
      */
73 87
     public function specifyProvinceCode($provinceCode);
74 88
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Currency/UpdatePageInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -20,8 +20,14 @@  discard block
 block discarded – undo
20 20
  */
21 21
 interface UpdatePageInterface extends BaseUpdatePageInterface
22 22
 {
23
+    /**
24
+     * @return void
25
+     */
23 26
     public function enable();
24 27
 
28
+    /**
29
+     * @return void
30
+     */
25 31
     public function disable();
26 32
 
27 33
     /**
@@ -36,6 +42,7 @@  discard block
 block discarded – undo
36 42
 
37 43
     /**
38 44
      * @param string $exchangeRate
45
+     * @return void
39 46
      */
40 47
     public function changeExchangeRate($exchangeRate);
41 48
 
Please login to merge, or discard this patch.