Completed
Push — scalar-types/registry ( 38a5a0 )
by Kamil
75:54 queued 51:59
created
src/Sylius/Component/Order/Model/OrderItemInterface.php 2 patches
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param int $unitPrice
36
+     * @return void
36 37
      */
37 38
     public function setUnitPrice($unitPrice);
38 39
 
@@ -43,6 +44,7 @@  discard block
 block discarded – undo
43 44
 
44 45
     /**
45 46
      * Recalculate totals. Should be used after every unit change.
47
+     * @return void
46 48
      */
47 49
     public function recalculateUnitsTotal();
48 50
 
@@ -63,6 +65,7 @@  discard block
 block discarded – undo
63 65
 
64 66
     /**
65 67
      * @param bool $immutable
68
+     * @return void
66 69
      */
67 70
     public function setImmutable($immutable);
68 71
 
@@ -80,11 +83,13 @@  discard block
 block discarded – undo
80 83
 
81 84
     /**
82 85
      * @param OrderItemUnitInterface $itemUnit
86
+     * @return void
83 87
      */
84 88
     public function addUnit(OrderItemUnitInterface $itemUnit);
85 89
 
86 90
     /**
87 91
      * @param OrderItemUnitInterface $itemUnit
92
+     * @return void
88 93
      */
89 94
     public function removeUnit(OrderItemUnitInterface $itemUnit);
90 95
 
@@ -97,13 +102,14 @@  discard block
 block discarded – undo
97 102
 
98 103
     /**
99 104
      * @param string|null $type
105
+     * @return void
100 106
      */
101 107
     public function removeAdjustmentsRecursively($type = null);
102 108
 
103 109
     /**
104 110
      * @param string|null $type
105 111
      *
106
-     * @return array
112
+     * @return integer
107 113
      */
108 114
     public function getAdjustmentsTotalRecursively($type = null);
109 115
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Order\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Modifier/OrderItemQuantityModifierInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -21,6 +21,7 @@
 block discarded – undo
21 21
     /**
22 22
      * @param OrderItemInterface $orderItem
23 23
      * @param int $targetQuantity
24
+     * @return void
24 25
      */
25 26
     public function modify(OrderItemInterface $orderItem, $targetQuantity);
26 27
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Order\Modifier;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentsSubjectInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,11 +27,13 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param PaymentInterface $payment
30
+     * @return void
30 31
      */
31 32
     public function addPayment(PaymentInterface $payment);
32 33
 
33 34
     /**
34 35
      * @param PaymentInterface $payment
36
+     * @return void
35 37
      */
36 38
     public function removePayment(PaymentInterface $payment);
37 39
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Payment\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductTranslationInterface.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     /**
28 28
      * @param string $name
29
+     * @return void
29 30
      */
30 31
     public function setName($name);
31 32
 
@@ -36,6 +37,7 @@  discard block
 block discarded – undo
36 37
 
37 38
     /**
38 39
      * @param string $description
40
+     * @return void
39 41
      */
40 42
     public function setDescription($description);
41 43
 
@@ -46,6 +48,7 @@  discard block
 block discarded – undo
46 48
 
47 49
     /**
48 50
      * @param string $metaKeywords
51
+     * @return void
49 52
      */
50 53
     public function setMetaKeywords($metaKeywords);
51 54
 
@@ -56,6 +59,7 @@  discard block
 block discarded – undo
56 59
 
57 60
     /**
58 61
      * @param string $metaDescription
62
+     * @return void
59 63
      */
60 64
     public function setMetaDescription($metaDescription);
61 65
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Product\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Metadata/RegistryInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -39,12 +39,14 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param MetadataInterface $metadata
42
+     * @return void
42 43
      */
43 44
     public function add(MetadataInterface $metadata);
44 45
 
45 46
     /**
46 47
      * @param string $alias
47 48
      * @param array $configuration
49
+     * @return void
48 50
      */
49 51
     public function addFromAliasAndConfiguration($alias, array $configuration);
50 52
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Metadata;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/SlugAwareInterface.php 2 patches
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param string $slug
26
+     * @return void
26 27
      */
27 28
     public function setSlug($slug = null);
28 29
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/ToggleableInterface.php 2 patches
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -23,10 +23,17 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param bool $enabled
26
+     * @return void
26 27
      */
27 28
     public function setEnabled($enabled);
28 29
 
30
+    /**
31
+     * @return void
32
+     */
29 33
     public function enable();
30 34
 
35
+    /**
36
+     * @return void
37
+     */
31 38
     public function disable();
32 39
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Model/TranslationInterface.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param null|TranslatableInterface $translatable
26
+     * @return void
26 27
      */
27 28
     public function setTranslatable(TranslatableInterface $translatable = null);
28 29
 
@@ -33,6 +34,7 @@  discard block
 block discarded – undo
33 34
 
34 35
     /**
35 36
      * @param string $locale
37
+     * @return void
36 38
      */
37 39
     public function setLocale($locale);
38 40
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Model;
15 15
 
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Repository/InMemoryRepository.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -184,7 +184,7 @@
 block discarded – undo
184 184
      * @param ResourceInterface[] $resources
185 185
      * @param array               $criteria
186 186
      *
187
-     * @return ResourceInterface[]|array
187
+     * @return ResourceInterface[]
188 188
      */
189 189
     private function applyCriteria(array $resources, array $criteria)
190 190
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace Sylius\Component\Resource\Repository;
15 15
 
Please login to merge, or discard this patch.