@@ -31,6 +31,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | } |
@@ -35,6 +35,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
75 | 79 | |
76 | 80 | /** |
77 | 81 | * @param array $details |
82 | + * @return void |
|
78 | 83 | */ |
79 | 84 | public function setDetails(array $details): void; |
80 | 85 | } |
@@ -104,6 +104,9 @@ |
||
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) { |
@@ -25,6 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param string|null $name |
28 | + * @return void |
|
28 | 29 | */ |
29 | 30 | public function setName(?string $name): void; |
30 | 31 | |
@@ -35,6 +36,7 @@ discard block |
||
35 | 36 | |
36 | 37 | /** |
37 | 38 | * @param string|null $abbreviation |
39 | + * @return void |
|
38 | 40 | */ |
39 | 41 | public function setAbbreviation(?string $abbreviation): void; |
40 | 42 | |
@@ -45,6 +47,7 @@ discard block |
||
45 | 47 | |
46 | 48 | /** |
47 | 49 | * @param CountryInterface|null $country |
50 | + * @return void |
|
48 | 51 | */ |
49 | 52 | public function setCountry(?CountryInterface $country): void; |
50 | 53 | } |
@@ -27,6 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param ProductOptionInterface|null $option |
30 | + * @return void |
|
30 | 31 | */ |
31 | 32 | public function setOption(?ProductOptionInterface $option): void; |
32 | 33 | |
@@ -37,6 +38,7 @@ discard block |
||
37 | 38 | |
38 | 39 | /** |
39 | 40 | * @param string|null $value |
41 | + * @return void |
|
40 | 42 | */ |
41 | 43 | public function setValue(?string $value): void; |
42 | 44 |
@@ -32,6 +32,7 @@ discard block |
||
32 | 32 | |
33 | 33 | /** |
34 | 34 | * @param string|null $title |
35 | + * @return void |
|
35 | 36 | */ |
36 | 37 | public function setTitle(?string $title): void; |
37 | 38 | |
@@ -42,6 +43,7 @@ discard block |
||
42 | 43 | |
43 | 44 | /** |
44 | 45 | * @param string|null $description |
46 | + * @return void |
|
45 | 47 | */ |
46 | 48 | public function setDescription(?string $description): void; |
47 | 49 | |
@@ -52,11 +54,13 @@ discard block |
||
52 | 54 | |
53 | 55 | /** |
54 | 56 | * @param ThemeAuthor $author |
57 | + * @return void |
|
55 | 58 | */ |
56 | 59 | public function addAuthor(ThemeAuthor $author): void; |
57 | 60 | |
58 | 61 | /** |
59 | 62 | * @param ThemeAuthor $author |
63 | + * @return void |
|
60 | 64 | */ |
61 | 65 | public function removeAuthor(ThemeAuthor $author): void; |
62 | 66 | |
@@ -67,11 +71,13 @@ discard block |
||
67 | 71 | |
68 | 72 | /** |
69 | 73 | * @param ThemeInterface $theme |
74 | + * @return void |
|
70 | 75 | */ |
71 | 76 | public function addParent(self $theme): void; |
72 | 77 | |
73 | 78 | /** |
74 | 79 | * @param ThemeInterface $theme |
80 | + * @return void |
|
75 | 81 | */ |
76 | 82 | public function removeParent(self $theme): void; |
77 | 83 | |
@@ -82,11 +88,13 @@ discard block |
||
82 | 88 | |
83 | 89 | /** |
84 | 90 | * @param ThemeScreenshot $screenshot |
91 | + * @return void |
|
85 | 92 | */ |
86 | 93 | public function addScreenshot(ThemeScreenshot $screenshot): void; |
87 | 94 | |
88 | 95 | /** |
89 | 96 | * @param ThemeScreenshot $screenshot |
97 | + * @return void |
|
90 | 98 | */ |
91 | 99 | public function removeScreenshot(ThemeScreenshot $screenshot): void; |
92 | 100 | } |
@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * @param TaxonInterface|null $taxon |
42 | + * @return void |
|
42 | 43 | */ |
43 | 44 | public function setParent(?self $taxon): void; |
44 | 45 | |
@@ -66,11 +67,13 @@ discard block |
||
66 | 67 | |
67 | 68 | /** |
68 | 69 | * @param TaxonInterface $taxon |
70 | + * @return void |
|
69 | 71 | */ |
70 | 72 | public function addChild(self $taxon): void; |
71 | 73 | |
72 | 74 | /** |
73 | 75 | * @param TaxonInterface $taxon |
76 | + * @return void |
|
74 | 77 | */ |
75 | 78 | public function removeChild(self $taxon): void; |
76 | 79 | |
@@ -81,6 +84,7 @@ discard block |
||
81 | 84 | |
82 | 85 | /** |
83 | 86 | * @param string|null $name |
87 | + * @return void |
|
84 | 88 | */ |
85 | 89 | public function setName(?string $name): void; |
86 | 90 | |
@@ -91,6 +95,7 @@ discard block |
||
91 | 95 | |
92 | 96 | /** |
93 | 97 | * @param string|null $description |
98 | + * @return void |
|
94 | 99 | */ |
95 | 100 | public function setDescription(?string $description): void; |
96 | 101 | |
@@ -101,6 +106,7 @@ discard block |
||
101 | 106 | |
102 | 107 | /** |
103 | 108 | * @param int|null $left |
109 | + * @return void |
|
104 | 110 | */ |
105 | 111 | public function setLeft(?int $left): void; |
106 | 112 | |
@@ -111,6 +117,7 @@ discard block |
||
111 | 117 | |
112 | 118 | /** |
113 | 119 | * @param int|null $right |
120 | + * @return void |
|
114 | 121 | */ |
115 | 122 | public function setRight(?int $right): void; |
116 | 123 | |
@@ -121,6 +128,7 @@ discard block |
||
121 | 128 | |
122 | 129 | /** |
123 | 130 | * @param int|null $level |
131 | + * @return void |
|
124 | 132 | */ |
125 | 133 | public function setLevel(?int $level): void; |
126 | 134 | |
@@ -131,6 +139,7 @@ discard block |
||
131 | 139 | |
132 | 140 | /** |
133 | 141 | * @param int|null $position |
142 | + * @return void |
|
134 | 143 | */ |
135 | 144 | public function setPosition(?int $position): void; |
136 | 145 |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | "email": "[email protected]" |
129 | 129 | } |
130 | 130 | } |
131 | -EOT; |
|
131 | +eot; |
|
132 | 132 | |
133 | 133 | $this->client->request('POST', $this->getReviewListUrl($product), [], [], static::$authorizedHeaderWithContentType, $data); |
134 | 134 | $response = $this->client->getResponse(); |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | "rating": "1", |
220 | 220 | "comment": "NEW_REVIEW_COMMENT" |
221 | 221 | } |
222 | -EOT; |
|
222 | +eot; |
|
223 | 223 | $this->client->request('PUT', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data); |
224 | 224 | $response = $this->client->getResponse(); |
225 | 225 | |
@@ -246,7 +246,7 @@ discard block |
||
246 | 246 | { |
247 | 247 | "comment": "A_NEW_REVIEW_COMMENT" |
248 | 248 | } |
249 | -EOT; |
|
249 | +eot; |
|
250 | 250 | |
251 | 251 | $this->client->request('PATCH', $this->getReviewUrl($product, $productReview), [], [], static::$authorizedHeaderWithContentType, $data); |
252 | 252 | $response = $this->client->getResponse(); |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | "defaultLocale": "en_US", |
130 | 130 | "enabled": true |
131 | 131 | } |
132 | -EOT; |
|
132 | +eot; |
|
133 | 133 | |
134 | 134 | $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data); |
135 | 135 | |
@@ -168,7 +168,7 @@ discard block |
||
168 | 168 | "skippingPaymentStepAllowed": true, |
169 | 169 | "accountVerificationRequired": false |
170 | 170 | } |
171 | -EOT; |
|
171 | +eot; |
|
172 | 172 | |
173 | 173 | $this->client->request('POST', '/api/v1/channels/', [], [], static::$authorizedHeaderWithContentType, $data); |
174 | 174 | |
@@ -225,7 +225,7 @@ discard block |
||
225 | 225 | "hostname": "localhost", |
226 | 226 | "taxCalculationStrategy": "order_items_based" |
227 | 227 | } |
228 | -EOT; |
|
228 | +eot; |
|
229 | 229 | |
230 | 230 | $this->client->request('PUT', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data); |
231 | 231 | |
@@ -284,7 +284,7 @@ discard block |
||
284 | 284 | "color": "black", |
285 | 285 | "enabled": false |
286 | 286 | } |
287 | -EOT; |
|
287 | +eot; |
|
288 | 288 | |
289 | 289 | $this->client->request('PATCH', $this->getChannelUrl($channel), [], [], static::$authorizedHeaderWithContentType, $data); |
290 | 290 |