Completed
Push — fixtures/parameter-fix ( 1f3fd9...164a01 )
by Kamil
32:45
created
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.
src/Sylius/Component/Rbac/Model/RoleInterface.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -30,6 +30,7 @@  discard block
 block discarded – undo
30 30
 
31 31
     /**
32 32
      * @param string $name
33
+     * @return void
33 34
      */
34 35
     public function setName($name);
35 36
 
@@ -40,6 +41,7 @@  discard block
 block discarded – undo
40 41
 
41 42
     /**
42 43
      * @param string $description
44
+     * @return void
43 45
      */
44 46
     public function setDescription($description);
45 47
 
@@ -50,11 +52,13 @@  discard block
 block discarded – undo
50 52
 
51 53
     /**
52 54
      * @param PermissionInterface $permission
55
+     * @return void
53 56
      */
54 57
     public function addPermission(PermissionInterface $permission);
55 58
 
56 59
     /**
57 60
      * @param PermissionInterface $permission
61
+     * @return void
58 62
      */
59 63
     public function removePermission(PermissionInterface $permission);
60 64
 
@@ -72,6 +76,7 @@  discard block
 block discarded – undo
72 76
 
73 77
     /**
74 78
      * @param RoleInterface $role
79
+     * @return void
75 80
      */
76 81
     public function setParent(RoleInterface $role);
77 82
 
@@ -87,11 +92,13 @@  discard block
 block discarded – undo
87 92
 
88 93
     /**
89 94
      * @param RoleInterface $role
95
+     * @return void
90 96
      */
91 97
     public function addChild(RoleInterface $role);
92 98
 
93 99
     /**
94 100
      * @param RoleInterface $role
101
+     * @return void
95 102
      */
96 103
     public function removeChild(RoleInterface $role);
97 104
 
@@ -109,6 +116,7 @@  discard block
 block discarded – undo
109 116
 
110 117
     /**
111 118
      * @param int $left
119
+     * @return void
112 120
      */
113 121
     public function setLeft($left);
114 122
 
@@ -119,6 +127,7 @@  discard block
 block discarded – undo
119 127
 
120 128
     /**
121 129
      * @param int $right
130
+     * @return void
122 131
      */
123 132
     public function setRight($right);
124 133
 
@@ -129,6 +138,7 @@  discard block
 block discarded – undo
129 138
 
130 139
     /**
131 140
      * @param int $level
141
+     * @return void
132 142
      */
133 143
     public function setLevel($level);
134 144
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Resource/Event/FlashEvent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * Get flash message.
40 40
      *
41
-     * @return null|string
41
+     * @return string
42 42
      */
43 43
     public function getMessage()
44 44
     {
Please login to merge, or discard this patch.