Completed
Push — master ( 3a7160...1ad4e1 )
by Kamil
27:05
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/OrderInterface.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -34,6 +34,7 @@  discard block
 block discarded – undo
34 34
 
35 35
     /**
36 36
      * @param \DateTimeInterface|null $checkoutCompletedAt
37
+     * @return void
37 38
      */
38 39
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
39 40
 
@@ -42,6 +43,9 @@  discard block
 block discarded – undo
42 43
      */
43 44
     public function isCheckoutCompleted(): bool;
44 45
 
46
+    /**
47
+     * @return void
48
+     */
45 49
     public function completeCheckout(): void;
46 50
 
47 51
     /**
@@ -51,6 +55,7 @@  discard block
 block discarded – undo
51 55
 
52 56
     /**
53 57
      * @param string|null
58
+     * @return void
54 59
      */
55 60
     public function setNumber(?string $number): void;
56 61
 
@@ -61,6 +66,7 @@  discard block
 block discarded – undo
61 66
 
62 67
     /**
63 68
      * @param string|null $notes
69
+     * @return void
64 70
      */
65 71
     public function setNotes(?string $notes): void;
66 72
 
@@ -69,6 +75,9 @@  discard block
 block discarded – undo
69 75
      */
70 76
     public function getItems(): Collection;
71 77
 
78
+    /**
79
+     * @return void
80
+     */
72 81
     public function clearItems(): void;
73 82
 
74 83
     /**
@@ -78,11 +87,13 @@  discard block
 block discarded – undo
78 87
 
79 88
     /**
80 89
      * @param OrderItemInterface $item
90
+     * @return void
81 91
      */
82 92
     public function addItem(OrderItemInterface $item): void;
83 93
 
84 94
     /**
85 95
      * @param OrderItemInterface $item
96
+     * @return void
86 97
      */
87 98
     public function removeItem(OrderItemInterface $item): void;
88 99
 
@@ -98,6 +109,9 @@  discard block
 block discarded – undo
98 109
      */
99 110
     public function getItemsTotal(): int;
100 111
 
112
+    /**
113
+     * @return void
114
+     */
101 115
     public function recalculateItemsTotal(): void;
102 116
 
103 117
     /**
@@ -117,6 +131,7 @@  discard block
 block discarded – undo
117 131
 
118 132
     /**
119 133
      * @param string $state
134
+     * @return void
120 135
      */
121 136
     public function setState(string $state): void;
122 137
 
@@ -141,6 +156,7 @@  discard block
 block discarded – undo
141 156
 
142 157
     /**
143 158
      * @param string|null $type
159
+     * @return void
144 160
      */
145 161
     public function removeAdjustmentsRecursively(?string $type = null): void;
146 162
 }
Please login to merge, or discard this patch.