Completed
Push — fendrychl--shipping_discount_b... ( 954064 )
by Kamil
65:39 queued 53:47
created
src/Sylius/Behat/Context/Setup/TaxationContext.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -127,6 +127,7 @@  discard block
 block discarded – undo
127 127
      * @Given the store has a tax category :name with a code :code
128 128
      * @Given the store has a tax category :name
129 129
      * @Given the store has a tax category :name also
130
+     * @param string $name
130 131
      */
131 132
     public function theStoreHasTaxCategoryWithCode($name, $code = null)
132 133
     {
@@ -213,7 +214,7 @@  discard block
 block discarded – undo
213 214
     /**
214 215
      * @param string $taxRateAmount
215 216
      *
216
-     * @return string
217
+     * @return integer
217 218
      */
218 219
     private function getAmountFromString($taxRateAmount)
219 220
     {
Please login to merge, or discard this patch.
src/Sylius/Behat/Page/Admin/Crud/IndexPageInterface.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param string $fieldName
45
+     * @return void
45 46
      */
46 47
     public function sortBy($fieldName);
47 48
 
@@ -61,6 +62,7 @@  discard block
 block discarded – undo
61 62
 
62 63
     /**
63 64
      * @param array $parameters
65
+     * @return void
64 66
      */
65 67
     public function checkResourceOnPage(array $parameters): void;
66 68
 
@@ -69,7 +71,13 @@  discard block
 block discarded – undo
69 71
      */
70 72
     public function countItems();
71 73
 
74
+    /**
75
+     * @return void
76
+     */
72 77
     public function filter();
73 78
 
79
+    /**
80
+     * @return void
81
+     */
74 82
     public function bulkDelete(): void;
75 83
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderItem.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     }
51 51
 
52 52
     /**
53
-     * @return ProductInterface|null
53
+     * @return \Sylius\Component\Product\Model\ProductInterface|null
54 54
      */
55 55
     public function getProduct(): ?ProductInterface
56 56
     {
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/OrderItemInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,7 @@  discard block
 block discarded – undo
29 29
 
30 30
     /**
31 31
      * @param ProductVariantInterface|null $variant
32
+     * @return void
32 33
      */
33 34
     public function setVariant(?ProductVariantInterface $variant): void;
34 35
 
@@ -39,6 +40,7 @@  discard block
 block discarded – undo
39 40
 
40 41
     /**
41 42
      * @param string|null $productName
43
+     * @return void
42 44
      */
43 45
     public function setProductName(?string $productName): void;
44 46
 
@@ -49,6 +51,7 @@  discard block
 block discarded – undo
49 51
 
50 52
     /**
51 53
      * @param string|null $variantName
54
+     * @return void
52 55
      */
53 56
     public function setVariantName(?string $variantName): void;
54 57
 
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Order/OrderItemNamesSetterInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -19,6 +19,7 @@
 block discarded – undo
19 19
 {
20 20
     /**
21 21
      * @param OrderInterface $order
22
+     * @return void
22 23
      */
23 24
     public function __invoke(OrderInterface $order): void;
24 25
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Core/Model/ProductTaxonInterface.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -24,6 +24,7 @@  discard block
 block discarded – undo
24 24
 
25 25
     /**
26 26
      * @param ProductInterface|null $product
27
+     * @return void
27 28
      */
28 29
     public function setProduct(?ProductInterface $product): void;
29 30
 
@@ -34,6 +35,7 @@  discard block
 block discarded – undo
34 35
 
35 36
     /**
36 37
      * @param TaxonInterface|null $taxon
38
+     * @return void
37 39
      */
38 40
     public function setTaxon(?TaxonInterface $taxon): void;
39 41
 
@@ -44,6 +46,7 @@  discard block
 block discarded – undo
44 46
 
45 47
     /**
46 48
      * @param int|null $position
49
+     * @return void
47 50
      */
48 51
     public function setPosition(?int $position): void;
49 52
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Order/Model/OrderInterface.php 1 patch
Doc Comments   +16 added lines patch added patch discarded remove patch
@@ -31,6 +31,7 @@  discard block
 block discarded – undo
31 31
 
32 32
     /**
33 33
      * @param \DateTimeInterface|null $checkoutCompletedAt
34
+     * @return void
34 35
      */
35 36
     public function setCheckoutCompletedAt(?\DateTimeInterface $checkoutCompletedAt): void;
36 37
 
@@ -39,6 +40,9 @@  discard block
 block discarded – undo
39 40
      */
40 41
     public function isCheckoutCompleted(): bool;
41 42
 
43
+    /**
44
+     * @return void
45
+     */
42 46
     public function completeCheckout(): void;
43 47
 
44 48
     /**
@@ -48,6 +52,7 @@  discard block
 block discarded – undo
48 52
 
49 53
     /**
50 54
      * @param string|null $number
55
+     * @return void
51 56
      */
52 57
     public function setNumber(?string $number): void;
53 58
 
@@ -58,6 +63,7 @@  discard block
 block discarded – undo
58 63
 
59 64
     /**
60 65
      * @param string|null $notes
66
+     * @return void
61 67
      */
62 68
     public function setNotes(?string $notes): void;
63 69
 
@@ -66,6 +72,9 @@  discard block
 block discarded – undo
66 72
      */
67 73
     public function getItems(): Collection;
68 74
 
75
+    /**
76
+     * @return void
77
+     */
69 78
     public function clearItems(): void;
70 79
 
71 80
     /**
@@ -75,11 +84,13 @@  discard block
 block discarded – undo
75 84
 
76 85
     /**
77 86
      * @param OrderItemInterface $item
87
+     * @return void
78 88
      */
79 89
     public function addItem(OrderItemInterface $item): void;
80 90
 
81 91
     /**
82 92
      * @param OrderItemInterface $item
93
+     * @return void
83 94
      */
84 95
     public function removeItem(OrderItemInterface $item): void;
85 96
 
@@ -95,6 +106,9 @@  discard block
 block discarded – undo
95 106
      */
96 107
     public function getItemsTotal(): int;
97 108
 
109
+    /**
110
+     * @return void
111
+     */
98 112
     public function recalculateItemsTotal(): void;
99 113
 
100 114
     /**
@@ -114,6 +128,7 @@  discard block
 block discarded – undo
114 128
 
115 129
     /**
116 130
      * @param string $state
131
+     * @return void
117 132
      */
118 133
     public function setState(string $state): void;
119 134
 
@@ -138,6 +153,7 @@  discard block
 block discarded – undo
138 153
 
139 154
     /**
140 155
      * @param string|null $type
156
+     * @return void
141 157
      */
142 158
     public function removeAdjustmentsRecursively(?string $type = null): void;
143 159
 }
Please login to merge, or discard this patch.
src/Sylius/Component/Payment/Model/PaymentInterface.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * @param PaymentMethodInterface|null $method
38
+     * @return void
38 39
      */
39 40
     public function setMethod(?PaymentMethodInterface $method): void;
40 41
 
@@ -45,6 +46,7 @@  discard block
 block discarded – undo
45 46
 
46 47
     /**
47 48
      * @param string $state
49
+     * @return void
48 50
      */
49 51
     public function setState(string $state): void;
50 52
 
@@ -55,6 +57,7 @@  discard block
 block discarded – undo
55 57
 
56 58
     /**
57 59
      * @param string $currencyCode
60
+     * @return void
58 61
      */
59 62
     public function setCurrencyCode(string $currencyCode): void;
60 63
 
@@ -65,6 +68,7 @@  discard block
 block discarded – undo
65 68
 
66 69
     /**
67 70
      * @param int $amount
71
+     * @return void
68 72
      */
69 73
     public function setAmount(int $amount): void;
70 74
 
@@ -75,6 +79,7 @@  discard block
 block discarded – undo
75 79
 
76 80
     /**
77 81
      * @param array $details
82
+     * @return void
78 83
      */
79 84
     public function setDetails(array $details): void;
80 85
 }
Please login to merge, or discard this patch.
src/Sylius/Bundle/ThemeBundle/Tests/Functional/AssetTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -104,6 +104,9 @@
 block discarded – undo
104 104
         return $webDirectory;
105 105
     }
106 106
 
107
+    /**
108
+     * @param string $webDirectory
109
+     */
107 110
     private function assertFileContent($lines, $webDirectory): void
108 111
     {
109 112
         foreach ($lines as $line) {
Please login to merge, or discard this patch.