Completed
Push — 1.0-coding-standard-2-addition... ( 10d1c2 )
by Kamil
34:11 queued 09:30
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/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.
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.
src/Sylius/Behat/Page/Admin/Customer/UpdatePageInterface.php 1 patch
Doc Comments   +13 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
     /**
@@ -31,6 +37,7 @@  discard block
 block discarded – undo
31 37
 
32 38
     /**
33 39
      * @param string $firstName
40
+     * @return void
34 41
      */
35 42
     public function changeFirstName($firstName);
36 43
 
@@ -41,6 +48,7 @@  discard block
 block discarded – undo
41 48
 
42 49
     /**
43 50
      * @param string $lastName
51
+     * @return void
44 52
      */
45 53
     public function changeLastName($lastName);
46 54
 
@@ -51,11 +59,13 @@  discard block
 block discarded – undo
51 59
 
52 60
     /**
53 61
      * @param string $email
62
+     * @return void
54 63
      */
55 64
     public function changeEmail($email);
56 65
 
57 66
     /**
58 67
      * @param string $password
68
+     * @return void
59 69
      */
60 70
     public function changePassword($password);
61 71
 
@@ -64,6 +74,9 @@  discard block
 block discarded – undo
64 74
      */
65 75
     public function getPassword();
66 76
 
77
+    /**
78
+     * @return void
79
+     */
67 80
     public function subscribeToTheNewsletter();
68 81
 
69 82
     /**
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Order/UpdatePage.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * {@inheritdoc}
47
+     * @param string $addressType
47 48
      */
48 49
     private function specifyAddress(AddressInterface $address, $addressType)
49 50
     {
Please login to merge, or discard this patch.