Completed
Push — 1.1-csrf-token-user ( e22bcb...d4c2fb )
by Kamil
17:31
created
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/OrderItemInterface.php 1 patch
Doc Comments   +6 added 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(int $unitPrice): void;
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(): void;
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(bool $immutable): void;
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): void;
85 89
 
86 90
     /**
87 91
      * @param OrderItemUnitInterface $itemUnit
92
+     * @return void
88 93
      */
89 94
     public function removeUnit(OrderItemUnitInterface $itemUnit): void;
90 95
 
@@ -97,6 +102,7 @@  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(?string $type = null): void;
102 108
 
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderSequenceInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -25,5 +25,8 @@
 block discarded – undo
25 25
      */
26 26
     public function getIndex(): int;
27 27
 
28
+    /**
29
+     * @return void
30
+     */
28 31
     public function incrementIndex(): void;
29 32
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Modifier/OrderItemQuantityModifierInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -23,6 +23,7 @@
 block discarded – undo
23 23
     /**
24 24
      * @param OrderItemInterface $orderItem
25 25
      * @param int $targetQuantity
26
+     * @return void
26 27
      */
27 28
     public function modify(OrderItemInterface $orderItem, int $targetQuantity): void;
28 29
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Modifier/OrderModifierInterface.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -24,12 +24,14 @@
 block discarded – undo
24 24
     /**
25 25
      * @param OrderInterface $cart
26 26
      * @param OrderItemInterface $cartItem
27
+     * @return void
27 28
      */
28 29
     public function addToOrder(OrderInterface $cart, OrderItemInterface $cartItem): void;
29 30
 
30 31
     /**
31 32
      * @param OrderInterface $cart
32 33
      * @param OrderItemInterface $item
34
+     * @return void
33 35
      */
34 36
     public function removeFromOrder(OrderInterface $cart, OrderItemInterface $item): void;
35 37
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Processor/OrderProcessorInterface.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 process(OrderInterface $order): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/StateResolver/StateResolverInterface.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 resolve(OrderInterface $order): void;
27 28
 }
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/SymfonyPageInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@
 block discarded – undo
27 27
      * @param array $requiredUrlParameters
28 28
      *
29 29
      * @throws UnexpectedPageException
30
+     * @return void
30 31
      */
31 32
     public function verifyRoute(array $requiredUrlParameters = []);
32 33
 }
Please login to merge, or discard this patch.