Completed
Push — fixtures/enhancements ( 4ca292 )
by Kamil
58:26 queued 22:32
created
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Doc Comments   +17 added lines patch added patch discarded remove patch
@@ -41,6 +41,9 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function isCompleted();
43 43
 
44
+    /**
45
+     * @return void
46
+     */
44 47
     public function complete();
45 48
 
46 49
     /**
@@ -50,6 +53,7 @@  discard block
 block discarded – undo
50 53
 
51 54
     /**
52 55
      * @param null|\DateTime $completedAt
56
+     * @return void
53 57
      */
54 58
     public function setCompletedAt(\DateTime $completedAt = null);
55 59
 
@@ -65,11 +69,13 @@  discard block
 block discarded – undo
65 69
 
66 70
     /**
67 71
      * @param OrderItemInterface $item
72
+     * @return void
68 73
      */
69 74
     public function addItem(OrderItemInterface $item);
70 75
 
71 76
     /**
72 77
      * @param OrderItemInterface $item
78
+     * @return void
73 79
      */
74 80
     public function removeItem(OrderItemInterface $item);
75 81
 
@@ -85,6 +91,9 @@  discard block
 block discarded – undo
85 91
      */
86 92
     public function getItemsTotal();
87 93
 
94
+    /**
95
+     * @return void
96
+     */
88 97
     public function recalculateItemsTotal();
89 98
 
90 99
     /**
@@ -102,6 +111,9 @@  discard block
 block discarded – undo
102 111
      */
103 112
     public function isEmpty();
104 113
 
114
+    /**
115
+     * @return void
116
+     */
105 117
     public function clearItems();
106 118
 
107 119
     /**
@@ -111,6 +123,7 @@  discard block
 block discarded – undo
111 123
 
112 124
     /**
113 125
      * @param string $state
126
+     * @return void
114 127
      */
115 128
     public function setState($state);
116 129
 
@@ -118,11 +131,13 @@  discard block
 block discarded – undo
118 131
      * Add an identity to this order. Eg. external identity to refer to an ebay order id.
119 132
      *
120 133
      * @param IdentityInterface $identity
134
+     * @return void
121 135
      */
122 136
     public function addIdentity(IdentityInterface $identity);
123 137
 
124 138
     /**
125 139
      * @param IdentityInterface $identity
140
+     * @return void
126 141
      */
127 142
     public function removeIdentity(IdentityInterface $identity);
128 143
 
@@ -143,6 +158,7 @@  discard block
 block discarded – undo
143 158
 
144 159
     /**
145 160
      * @param string $information
161
+     * @return void
146 162
      */
147 163
     public function setAdditionalInformation($information);
148 164
 
@@ -162,6 +178,7 @@  discard block
 block discarded – undo
162 178
 
163 179
     /**
164 180
      * @param string|null $type
181
+     * @return void
165 182
      */
166 183
     public function removeAdjustmentsRecursively($type = null);
167 184
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderItemInterface.php 1 patch
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.
src/Sylius/Component/Originator/Originator/OriginatorInterface.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,8 @@
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param OriginAwareInterface $originAware
30
-     * @param object               $origin
30
+     * @param \Sylius\Component\Promotion\Model\PromotionInterface               $origin
31
+     * @return void
31 32
      */
32 33
     public function setOrigin(OriginAwareInterface $originAware, $origin);
33 34
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -39,6 +39,7 @@  discard block
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param null|PaymentMethodInterface $method
42
+     * @return void
42 43
      */
43 44
     public function setMethod(PaymentMethodInterface $method = null);
44 45
 
@@ -49,6 +50,7 @@  discard block
 block discarded – undo
49 50
 
50 51
     /**
51 52
      * @param null|PaymentSourceInterface $source
53
+     * @return void
52 54
      */
53 55
     public function setSource(PaymentSourceInterface $source = null);
54 56
 
@@ -59,6 +61,7 @@  discard block
 block discarded – undo
59 61
 
60 62
     /**
61 63
      * @param string $state
64
+     * @return void
62 65
      */
63 66
     public function setState($state);
64 67
 
@@ -69,6 +72,8 @@  discard block
 block discarded – undo
69 72
 
70 73
     /**
71 74
      * @param string
75
+     * @param string $currencyCode
76
+     * @return void
72 77
      */
73 78
     public function setCurrencyCode($currencyCode);
74 79
 
@@ -79,11 +84,13 @@  discard block
 block discarded – undo
79 84
 
80 85
     /**
81 86
      * @param int $amount
87
+     * @return void
82 88
      */
83 89
     public function setAmount($amount);
84 90
 
85 91
     /**
86 92
      * @param array|\Traversable $details
93
+     * @return void
87 94
      */
88 95
     public function setDetails($details);
89 96
 
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentMethodTranslationInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -26,6 +26,7 @@  discard block
 block discarded – undo
26 26
      * Set the name.
27 27
      *
28 28
      * @param string $name
29
+     * @return null|PaymentMethodTranslation
29 30
      */
30 31
     public function setName($name);
31 32
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
      * Set description.
41 42
      *
42 43
      * @param string $description
44
+     * @return null|PaymentMethodTranslation
43 45
      */
44 46
     public function setDescription($description);
45 47
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Product/Model/ProductInterface.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,6 +45,7 @@  discard block
 block discarded – undo
45 45
 
46 46
     /**
47 47
      * @param null|\DateTime $availableOn
48
+     * @return void
48 49
      */
49 50
     public function setAvailableOn(\DateTime $availableOn = null);
50 51
 
@@ -55,21 +56,23 @@  discard block
 block discarded – undo
55 56
 
56 57
     /**
57 58
      * @param null|\DateTime $availableUntil
59
+     * @return void
58 60
      */
59 61
     public function setAvailableUntil(\DateTime $availableUntil = null);
60 62
 
61 63
     /**
62 64
      * @param ProductAssociationInterface $association
65
+     * @return void
63 66
      */
64 67
     public function addAssociation(ProductAssociationInterface $association);
65 68
 
66 69
     /**
67
-     * @param ProductAssociationInterface[] $association
68 70
      */
69 71
     public function getAssociations();
70 72
 
71 73
     /**
72 74
      * @param ProductAssociationInterface $association
75
+     * @return void
73 76
      */
74 77
     public function removeAssociation(ProductAssociationInterface $association);
75 78
     
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Generator/PercentageGenerationPolicy.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     /**
61 61
      * @param InstructionInterface $instruction
62 62
      *
63
-     * @return int
63
+     * @return double
64 64
      */
65 65
     private function calculatePossibleGenerationAmount(InstructionInterface $instruction)
66 66
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/CouponInterface.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     /**
29 29
      * @param int $usageLimit
30
+     * @return void
30 31
      */
31 32
     public function setUsageLimit($usageLimit);
32 33
 
@@ -37,9 +38,13 @@  discard block
 block discarded – undo
37 38
 
38 39
     /**
39 40
      * @param int $used
41
+     * @return void
40 42
      */
41 43
     public function setUsed($used);
42 44
 
45
+    /**
46
+     * @return void
47
+     */
43 48
     public function incrementUsed();
44 49
 
45 50
     /**
@@ -49,6 +54,7 @@  discard block
 block discarded – undo
49 54
 
50 55
     /**
51 56
      * @param PromotionInterface $promotion
57
+     * @return void
52 58
      */
53 59
     public function setPromotion(PromotionInterface $promotion = null);
54 60
 
@@ -59,6 +65,7 @@  discard block
 block discarded – undo
59 65
 
60 66
     /**
61 67
      * @param \DateTime $expiresAt
68
+     * @return void
62 69
      */
63 70
     public function setExpiresAt(\DateTime $expiresAt = null);
64 71
 
Please login to merge, or discard this patch.
src/Sylius/Component/Promotion/Model/PromotionInterface.php 1 patch
Doc Comments   +18 added lines patch added patch discarded remove patch
@@ -28,6 +28,7 @@  discard block
 block discarded – undo
28 28
 
29 29
     /**
30 30
      * @param string $name
31
+     * @return void
31 32
      */
32 33
     public function setName($name);
33 34
 
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
 
39 40
     /**
40 41
      * @param string $description
42
+     * @return void
41 43
      */
42 44
     public function setDescription($description);
43 45
 
@@ -48,6 +50,7 @@  discard block
 block discarded – undo
48 50
 
49 51
     /**
50 52
      * @param int $priority
53
+     * @return void
51 54
      */
52 55
     public function setPriority($priority);
53 56
 
@@ -58,6 +61,7 @@  discard block
 block discarded – undo
58 61
 
59 62
     /**
60 63
      * @param bool $exclusive
64
+     * @return void
61 65
      */
62 66
     public function setExclusive($exclusive);
63 67
 
@@ -68,6 +72,7 @@  discard block
 block discarded – undo
68 72
 
69 73
     /**
70 74
      * @param int $usageLimit
75
+     * @return void
71 76
      */
72 77
     public function setUsageLimit($usageLimit);
73 78
 
@@ -78,9 +83,13 @@  discard block
 block discarded – undo
78 83
 
79 84
     /**
80 85
      * @param int $used
86
+     * @return void
81 87
      */
82 88
     public function setUsed($used);
83 89
 
90
+    /**
91
+     * @return void
92
+     */
84 93
     public function incrementUsed();
85 94
 
86 95
     /**
@@ -90,6 +99,7 @@  discard block
 block discarded – undo
90 99
 
91 100
     /**
92 101
      * @param \DateTime $startsAt
102
+     * @return void
93 103
      */
94 104
     public function setStartsAt(\DateTime $startsAt = null);
95 105
 
@@ -100,6 +110,7 @@  discard block
 block discarded – undo
100 110
 
101 111
     /**
102 112
      * @param \DateTime $endsAt
113
+     * @return void
103 114
      */
104 115
     public function setEndsAt(\DateTime $endsAt = null);
105 116
 
@@ -110,6 +121,7 @@  discard block
 block discarded – undo
110 121
 
111 122
     /**
112 123
      * @param bool $couponBased
124
+     * @return void
113 125
      */
114 126
     public function setCouponBased($couponBased);
115 127
 
@@ -132,11 +144,13 @@  discard block
 block discarded – undo
132 144
 
133 145
     /**
134 146
      * @param CouponInterface $coupon
147
+     * @return void
135 148
      */
136 149
     public function addCoupon(CouponInterface $coupon);
137 150
 
138 151
     /**
139 152
      * @param CouponInterface $coupon
153
+     * @return void
140 154
      */
141 155
     public function removeCoupon(CouponInterface $coupon);
142 156
 
@@ -159,11 +173,13 @@  discard block
 block discarded – undo
159 173
 
160 174
     /**
161 175
      * @param RuleInterface $rule
176
+     * @return void
162 177
      */
163 178
     public function addRule(RuleInterface $rule);
164 179
 
165 180
     /**
166 181
      * @param RuleInterface $rule
182
+     * @return void
167 183
      */
168 184
     public function removeRule(RuleInterface $rule);
169 185
 
@@ -186,11 +202,13 @@  discard block
 block discarded – undo
186 202
 
187 203
     /**
188 204
      * @param ActionInterface $action
205
+     * @return void
189 206
      */
190 207
     public function addAction(ActionInterface $action);
191 208
 
192 209
     /**
193 210
      * @param ActionInterface $action
211
+     * @return void
194 212
      */
195 213
     public function removeAction(ActionInterface $action);
196 214
 }
Please login to merge, or discard this patch.