Completed
Push — 1.2-symfony4-packages ( 39ce77...14945a )
by Kamil
18:11
created
Sylius/Bundle/OrderBundle/NumberAssigner/OrderNumberAssignerInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -22,6 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     /**
24 24
      * @param OrderInterface $order
25
+     * @return void
25 26
      */
26 27
     public function assignNumber(OrderInterface $order): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/AttributeType/AttributeTypeInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@
 block discarded – undo
35 35
      * @param AttributeValueInterface $attributeValue
36 36
      * @param ExecutionContextInterface $context
37 37
      * @param array $configuration
38
+     * @return void
38 39
      */
39 40
     public function validate(
40 41
         AttributeValueInterface $attributeValue,
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeSubjectInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -35,11 +35,13 @@
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param AttributeValueInterface $attribute
38
+     * @return void
38 39
      */
39 40
     public function addAttribute(AttributeValueInterface $attribute): void;
40 41
 
41 42
     /**
42 43
      * @param AttributeValueInterface $attribute
44
+     * @return void
43 45
      */
44 46
     public function removeAttribute(AttributeValueInterface $attribute): void;
45 47
 
Please login to merge, or discard this patch.
src/Sylius/Component/Attribute/Model/AttributeTranslationInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param string|null $name
32
+     * @return void
32 33
      */
33 34
     public function setName(?string $name): void;
34 35
 }
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.
src/Sylius/Component/Order/Model/AdjustmentInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param AdjustableInterface|null $adjustable
31
+     * @return void
31 32
      */
32 33
     public function setAdjustable(?AdjustableInterface $adjustable): void;
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string|null $type
42
+     * @return void
41 43
      */
42 44
     public function setType(?string $type): void;
43 45
 
@@ -48,6 +50,7 @@  discard block
 block discarded – undo
48 50
 
49 51
     /**
50 52
      * @param string|null $label
53
+     * @return void
51 54
      */
52 55
     public function setLabel(?string $label): void;
53 56
 
@@ -58,6 +61,7 @@  discard block
 block discarded – undo
58 61
 
59 62
     /**
60 63
      * @param int $amount
64
+     * @return void
61 65
      */
62 66
     public function setAmount(int $amount): void;
63 67
 
@@ -68,6 +72,7 @@  discard block
 block discarded – undo
68 72
 
69 73
     /**
70 74
      * @param bool $neutral
75
+     * @return void
71 76
      */
72 77
     public function setNeutral(bool $neutral): void;
73 78
 
@@ -76,8 +81,14 @@  discard block
 block discarded – undo
76 81
      */
77 82
     public function isLocked(): bool;
78 83
 
84
+    /**
85
+     * @return void
86
+     */
79 87
     public function lock(): void;
80 88
 
89
+    /**
90
+     * @return void
91
+     */
81 92
     public function unlock(): void;
82 93
 
83 94
     /**
@@ -101,6 +112,7 @@  discard block
 block discarded – undo
101 112
 
102 113
     /**
103 114
      * @param string|null $originCode
115
+     * @return void
104 116
      */
105 117
     public function setOriginCode(?string $originCode): void;
106 118
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderAwareInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * @param OrderInterface|null $order
28
+     * @return void
28 29
      */
29 30
     public function setOrder(?OrderInterface $order): void;
30 31
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItemInterface.php 1 patch
Doc Comments   +6 added 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(int $unitPrice): void;
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(): void;
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(bool $immutable): void;
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): void;
85 89
 
86 90
     /**
87 91
      * @param OrderItemUnitInterface $itemUnit
92
+     * @return void
88 93
      */
89 94
     public function removeUnit(OrderItemUnitInterface $itemUnit): void;
90 95
 
@@ -97,6 +102,7 @@  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(?string $type = null): void;
102 108
 
Please login to merge, or discard this patch.