Completed
Push — docs-unified-api-section ( 191e4f...d674e9 )
by Kamil
10:53 queued 04:48
created
src/Sylius/Component/Core/Model/ProductTranslationInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -22,5 +22,8 @@
 block discarded – undo
22 22
      */
23 23
     public function getShortDescription(): ?string;
24 24
 
25
+    /**
26
+     * @return void
27
+     */
25 28
     public function setShortDescription(?string $shortDescription): void;
26 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductVariant.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -119,6 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * {@inheritdoc}
122
+     * @param integer $onHold
122 123
      */
123 124
     public function setOnHold(?int $onHold): void
124 125
     {
@@ -135,6 +136,7 @@  discard block
 block discarded – undo
135 136
 
136 137
     /**
137 138
      * {@inheritdoc}
139
+     * @param integer $onHand
138 140
      */
139 141
     public function setOnHand(?int $onHand): void
140 142
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/TaxRateInterface.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -18,7 +18,13 @@
 block discarded – undo
18 18
 
19 19
 interface TaxRateInterface extends BaseTaxRateInterface
20 20
 {
21
+    /**
22
+     * @return ZoneInterface
23
+     */
21 24
     public function getZone(): ?ZoneInterface;
22 25
 
26
+    /**
27
+     * @return void
28
+     */
23 29
     public function setZone(?ZoneInterface $zone): void;
24 30
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Order/OrderItemNamesSetterInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -17,5 +17,8 @@
 block discarded – undo
17 17
 
18 18
 interface OrderItemNamesSetterInterface
19 19
 {
20
+    /**
21
+     * @return void
22
+     */
20 23
     public function __invoke(OrderInterface $order): void;
21 24
 }
Please login to merge, or discard this patch.
Sylius/Component/Core/Payment/Provider/OrderPaymentProviderInterface.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 OrderPaymentProviderInterface
20 20
 {
21
+    /**
22
+     * @return PaymentInterface
23
+     */
21 24
     public function provideOrderPayment(OrderInterface $order, string $targetState): ?PaymentInterface;
22 25
 }
Please login to merge, or discard this patch.
Core/Promotion/Applicator/UnitsPromotionAdjustmentsApplicatorInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -20,6 +20,7 @@
 block discarded – undo
20 20
 {
21 21
     /**
22 22
      * @param array|int[] $adjustmentsAmounts
23
+     * @return void
23 24
      */
24 25
     public function apply(OrderInterface $order, PromotionInterface $promotion, array $adjustmentsAmounts): void;
25 26
 }
Please login to merge, or discard this patch.
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/Repository/OrderRepositoryInterface.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -64,11 +64,23 @@
 block discarded – undo
64 64
      */
65 65
     public function findOrdersUnpaidSince(\DateTimeInterface $terminalDate): array;
66 66
 
67
+    /**
68
+     * @return OrderInterface
69
+     */
67 70
     public function findCartForSummary($id): ?OrderInterface;
68 71
 
72
+    /**
73
+     * @return OrderInterface
74
+     */
69 75
     public function findCartForAddressing($id): ?OrderInterface;
70 76
 
77
+    /**
78
+     * @return OrderInterface
79
+     */
71 80
     public function findCartForSelectingShipping($id): ?OrderInterface;
72 81
 
82
+    /**
83
+     * @return OrderInterface
84
+     */
73 85
     public function findCartForSelectingPayment($id): ?OrderInterface;
74 86
 }
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.