Completed
Push — phpspec-7 ( 2faf6a )
by Kamil
62:22 queued 34:00
created
Component/Core/Promotion/Modifier/OrderPromotionsUsageModifierInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,7 +17,13 @@
 block discarded – undo
17 17
 
18 18
 interface OrderPromotionsUsageModifierInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function increment(OrderInterface $order): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function decrement(OrderInterface $order): void;
23 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Storage/CartStorageInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -22,7 +22,13 @@
 block discarded – undo
22 22
 
23 23
     public function getForChannel(ChannelInterface $channel): ?OrderInterface;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function setForChannel(ChannelInterface $channel, OrderInterface $cart): void;
26 29
 
30
+    /**
31
+     * @return void
32
+     */
27 33
     public function removeForChannel(ChannelInterface $channel): void;
28 34
 }
Please login to merge, or discard this patch.
Sylius/Component/Core/Taxation/Applicator/OrderTaxesApplicatorInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,5 +18,8 @@
 block discarded – undo
18 18
 
19 19
 interface OrderTaxesApplicatorInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function apply(OrderInterface $order, ZoneInterface $zone): void;
22 25
 }
Please login to merge, or discard this patch.
Sylius/Component/Core/Taxation/Strategy/TaxCalculationStrategyInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -18,6 +18,9 @@
 block discarded – undo
18 18
 
19 19
 interface TaxCalculationStrategyInterface
20 20
 {
21
+    /**
22
+     * @return void
23
+     */
21 24
     public function applyTaxes(OrderInterface $order, ZoneInterface $zone): void;
22 25
 
23 26
     public function getType(): string;
Please login to merge, or discard this patch.
src/Sylius/Component/Core/TokenAssigner/OrderTokenAssignerInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -17,7 +17,13 @@
 block discarded – undo
17 17
 
18 18
 interface OrderTokenAssignerInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function assignTokenValue(OrderInterface $order): void;
21 24
 
25
+    /**
26
+     * @return void
27
+     */
22 28
     public function assignTokenValueIfNotSet(OrderInterface $order): void;
23 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Uploader/ImageUploaderInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,6 +17,9 @@
 block discarded – undo
17 17
 
18 18
 interface ImageUploaderInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function upload(ImageInterface $image): void;
21 24
 
22 25
     public function remove(string $path): bool;
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/CurrenciesAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -24,7 +24,13 @@
 block discarded – undo
24 24
 
25 25
     public function hasCurrency(CurrencyInterface $currency): bool;
26 26
 
27
+    /**
28
+     * @return void
29
+     */
27 30
     public function addCurrency(CurrencyInterface $currency): void;
28 31
 
32
+    /**
33
+     * @return void
34
+     */
29 35
     public function removeCurrency(CurrencyInterface $currency): void;
30 36
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Currency/Model/ExchangeRateInterface.php 1 patch
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -17,15 +17,35 @@
 block discarded – undo
17 17
 
18 18
 interface ExchangeRateInterface extends ResourceInterface
19 19
 {
20
+    /**
21
+     * @return double|null
22
+     */
20 23
     public function getRatio(): ?float;
21 24
 
25
+    /**
26
+     * @param double $ratio
27
+     *
28
+     * @return void
29
+     */
22 30
     public function setRatio(?float $ratio);
23 31
 
32
+    /**
33
+     * @return CurrencyInterface|null
34
+     */
24 35
     public function getSourceCurrency(): ?CurrencyInterface;
25 36
 
37
+    /**
38
+     * @return void
39
+     */
26 40
     public function setSourceCurrency(CurrencyInterface $currency): void;
27 41
 
42
+    /**
43
+     * @return CurrencyInterface|null
44
+     */
28 45
     public function getTargetCurrency(): ?CurrencyInterface;
29 46
 
47
+    /**
48
+     * @return void
49
+     */
30 50
     public function setTargetCurrency(CurrencyInterface $currency): void;
31 51
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Customer/Model/CustomerAwareInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -15,7 +15,13 @@
 block discarded – undo
15 15
 
16 16
 interface CustomerAwareInterface
17 17
 {
18
+    /**
19
+     * @return null|CustomerInterface
20
+     */
18 21
     public function getCustomer(): ?CustomerInterface;
19 22
 
23
+    /**
24
+     * @return void
25
+     */
20 26
     public function setCustomer(?CustomerInterface $customer): void;
21 27
 }
Please login to merge, or discard this patch.