@@ -184,7 +184,7 @@ discard block |
||
184 | 184 | } |
185 | 185 | } |
186 | 186 | } |
187 | -EOT; |
|
187 | +eot; |
|
188 | 188 | |
189 | 189 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
190 | 190 | |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | { |
205 | 205 | "code": "fluffy_pets" |
206 | 206 | } |
207 | -EOT; |
|
207 | +eot; |
|
208 | 208 | |
209 | 209 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
210 | 210 | |
@@ -237,7 +237,7 @@ discard block |
||
237 | 237 | } |
238 | 238 | } |
239 | 239 | } |
240 | -EOT; |
|
240 | +eot; |
|
241 | 241 | |
242 | 242 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
243 | 243 | |
@@ -260,7 +260,7 @@ discard block |
||
260 | 260 | "code": "horror", |
261 | 261 | "parent": "books" |
262 | 262 | } |
263 | -EOT; |
|
263 | +eot; |
|
264 | 264 | |
265 | 265 | $this->client->request('POST', '/api/v1/taxons/', [], [], static::$authorizedHeaderWithContentType, $data); |
266 | 266 | |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | } |
302 | 302 | ] |
303 | 303 | } |
304 | -EOT; |
|
304 | +eot; |
|
305 | 305 | |
306 | 306 | $this->client->request('POST', '/api/v1/taxons/', [], [ |
307 | 307 | 'images' => [ |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | }, |
336 | 336 | "parent": "books" |
337 | 337 | } |
338 | -EOT; |
|
338 | +eot; |
|
339 | 339 | $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
340 | 340 | $response = $this->client->getResponse(); |
341 | 341 | |
@@ -362,7 +362,7 @@ discard block |
||
362 | 362 | } |
363 | 363 | } |
364 | 364 | } |
365 | -EOT; |
|
365 | +eot; |
|
366 | 366 | $this->client->request('PUT', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
367 | 367 | $response = $this->client->getResponse(); |
368 | 368 | |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | } |
390 | 390 | } |
391 | 391 | } |
392 | -EOT; |
|
392 | +eot; |
|
393 | 393 | $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
394 | 394 | $response = $this->client->getResponse(); |
395 | 395 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
@@ -415,7 +415,7 @@ discard block |
||
415 | 415 | } |
416 | 416 | } |
417 | 417 | } |
418 | -EOT; |
|
418 | +eot; |
|
419 | 419 | $this->client->request('PATCH', $this->getTaxonUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
420 | 420 | $response = $this->client->getResponse(); |
421 | 421 | $this->assertResponseCode($response, Response::HTTP_NO_CONTENT); |
@@ -461,7 +461,7 @@ discard block |
||
461 | 461 | } |
462 | 462 | ] |
463 | 463 | } |
464 | -EOT; |
|
464 | +eot; |
|
465 | 465 | |
466 | 466 | $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
467 | 467 | |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | } |
492 | 492 | ] |
493 | 493 | } |
494 | -EOT; |
|
494 | +eot; |
|
495 | 495 | |
496 | 496 | $this->client->request('PUT', $this->getTaxonProductsPositionsChangeUrl($taxon), [], [], static::$authorizedHeaderWithContentType, $data); |
497 | 497 |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | } |
85 | 85 | ] |
86 | 86 | } |
87 | -EOT; |
|
87 | +eot; |
|
88 | 88 | |
89 | 89 | $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
90 | 90 | |
@@ -174,7 +174,7 @@ discard block |
||
174 | 174 | } |
175 | 175 | ] |
176 | 176 | } |
177 | -EOT; |
|
177 | +eot; |
|
178 | 178 | |
179 | 179 | $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
180 | 180 | |
@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | } |
216 | 216 | ] |
217 | 217 | } |
218 | -EOT; |
|
218 | +eot; |
|
219 | 219 | |
220 | 220 | $this->client->request('PUT', $this->getSelectPaymentUrl($cartId), [], [], static::$authorizedHeaderWithContentType, $data); |
221 | 221 |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * @param string $name |
38 | + * @return void |
|
38 | 39 | */ |
39 | 40 | public function setName(?string $name): void; |
40 | 41 | |
@@ -45,6 +46,7 @@ discard block |
||
45 | 46 | |
46 | 47 | /** |
47 | 48 | * @param int $position |
49 | + * @return void |
|
48 | 50 | */ |
49 | 51 | public function setPosition(?int $position): void; |
50 | 52 | |
@@ -55,11 +57,13 @@ discard block |
||
55 | 57 | |
56 | 58 | /** |
57 | 59 | * @param ProductOptionValueInterface $optionValue |
60 | + * @return void |
|
58 | 61 | */ |
59 | 62 | public function addValue(ProductOptionValueInterface $optionValue): void; |
60 | 63 | |
61 | 64 | /** |
62 | 65 | * @param ProductOptionValueInterface $optionValue |
66 | + * @return void |
|
63 | 67 | */ |
64 | 68 | public function removeValue(ProductOptionValueInterface $optionValue): void; |
65 | 69 |
@@ -44,6 +44,7 @@ |
||
44 | 44 | |
45 | 45 | /** |
46 | 46 | * {@inheritdoc} |
47 | + * @param string $addressType |
|
47 | 48 | */ |
48 | 49 | private function specifyAddress(AddressInterface $address, $addressType) |
49 | 50 | { |
@@ -23,6 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | /** |
25 | 25 | * @param int|null $priority |
26 | + * @return void |
|
26 | 27 | */ |
27 | 28 | public function setPriority($priority); |
28 | 29 | |
@@ -33,6 +34,7 @@ discard block |
||
33 | 34 | |
34 | 35 | /** |
35 | 36 | * @param string $name |
37 | + * @return void |
|
36 | 38 | */ |
37 | 39 | public function nameIt($name); |
38 | 40 | |
@@ -50,35 +52,47 @@ discard block |
||
50 | 52 | |
51 | 53 | /** |
52 | 54 | * @param string $limit |
55 | + * @return void |
|
53 | 56 | */ |
54 | 57 | public function fillUsageLimit($limit); |
55 | 58 | |
59 | + /** |
|
60 | + * @return void |
|
61 | + */ |
|
56 | 62 | public function makeExclusive(); |
57 | 63 | |
64 | + /** |
|
65 | + * @return void |
|
66 | + */ |
|
58 | 67 | public function checkCouponBased(); |
59 | 68 | |
60 | 69 | /** |
61 | 70 | * @param string $name |
71 | + * @return void |
|
62 | 72 | */ |
63 | 73 | public function checkChannel($name); |
64 | 74 | |
65 | 75 | /** |
66 | 76 | * @param \DateTimeInterface $dateTime |
77 | + * @return void |
|
67 | 78 | */ |
68 | 79 | public function setStartsAt(\DateTimeInterface $dateTime); |
69 | 80 | |
70 | 81 | /** |
71 | 82 | * @param \DateTimeInterface $dateTime |
83 | + * @return void |
|
72 | 84 | */ |
73 | 85 | public function setEndsAt(\DateTimeInterface $dateTime); |
74 | 86 | |
75 | 87 | /** |
76 | 88 | * {@inheritdoc} |
89 | + * @return boolean |
|
77 | 90 | */ |
78 | 91 | public function hasStartsAt(\DateTimeInterface $dateTime); |
79 | 92 | |
80 | 93 | /** |
81 | 94 | * {@inheritdoc} |
95 | + * @return boolean |
|
82 | 96 | */ |
83 | 97 | public function hasEndsAt(\DateTimeInterface $dateTime); |
84 | 98 | } |
@@ -6,11 +6,20 @@ |
||
6 | 6 | |
7 | 7 | interface ResolveNextRouteInterface |
8 | 8 | { |
9 | + /** |
|
10 | + * @return string |
|
11 | + */ |
|
9 | 12 | public function getRouteName(): ?string; |
10 | 13 | |
14 | + /** |
|
15 | + * @return void |
|
16 | + */ |
|
11 | 17 | public function setRouteName(string $routeName): void; |
12 | 18 | |
13 | 19 | public function getRouteParameters(): array; |
14 | 20 | |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
15 | 24 | public function setRouteParameters(array $parameters): void; |
16 | 25 | } |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | 'translation' => [ |
41 | 41 | 'classes' => [ |
42 | 42 | 'model' => BookTranslation::class, |
43 | - ], |
|
43 | + ], |
|
44 | 44 | ], |
45 | 45 | ], |
46 | 46 | ], |
@@ -77,10 +77,10 @@ discard block |
||
77 | 77 | $this->setParameter('kernel.bundles', []); |
78 | 78 | |
79 | 79 | $this->load([ |
80 | - 'translation' => [ |
|
81 | - 'locale_provider' => 'test.custom_locale_provider', |
|
82 | - ], |
|
83 | - ]); |
|
80 | + 'translation' => [ |
|
81 | + 'locale_provider' => 'test.custom_locale_provider', |
|
82 | + ], |
|
83 | + ]); |
|
84 | 84 | |
85 | 85 | $this->assertContainerBuilderHasAlias('sylius.translation_locale_provider', 'test.custom_locale_provider'); |
86 | 86 | } |
@@ -46,8 +46,8 @@ |
||
46 | 46 | StateMachineInterface $secondOrderStateMachine |
47 | 47 | ): void { |
48 | 48 | $orderRepository->findOrdersUnpaidSince(Argument::type(\DateTimeInterface::class))->willReturn([ |
49 | - $firstOrder, |
|
50 | - $secondOrder, |
|
49 | + $firstOrder, |
|
50 | + $secondOrder, |
|
51 | 51 | ]); |
52 | 52 | |
53 | 53 | $stateMachineFactory->get($firstOrder, 'sylius_order')->willReturn($firstOrderStateMachine); |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | "enabled": "true" |
76 | 76 | } |
77 | 77 | } |
78 | -EOT; |
|
78 | +eot; |
|
79 | 79 | |
80 | 80 | $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data); |
81 | 81 | |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | "email": "[email protected]", |
99 | 99 | "gender": "m" |
100 | 100 | } |
101 | -EOT; |
|
101 | +eot; |
|
102 | 102 | |
103 | 103 | $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data); |
104 | 104 | |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | "plainPassword" : "testPassword" |
125 | 125 | } |
126 | 126 | } |
127 | -EOT; |
|
127 | +eot; |
|
128 | 128 | |
129 | 129 | $this->client->request('POST', '/api/v1/customers/', [], [], static::$authorizedHeaderWithContentType, $data); |
130 | 130 | |
@@ -277,7 +277,7 @@ discard block |
||
277 | 277 | "email": "[email protected]", |
278 | 278 | "gender": "m" |
279 | 279 | } |
280 | -EOT; |
|
280 | +eot; |
|
281 | 281 | |
282 | 282 | $this->client->request('PUT', '/api/v1/customers/' . $customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data); |
283 | 283 | |
@@ -317,7 +317,7 @@ discard block |
||
317 | 317 | "firstName": "John", |
318 | 318 | "lastName": "Doe" |
319 | 319 | } |
320 | -EOT; |
|
320 | +eot; |
|
321 | 321 | |
322 | 322 | $this->client->request('PATCH', '/api/v1/customers/' . $customers['customer_Oliver']->getId(), [], [], static::$authorizedHeaderWithContentType, $data); |
323 | 323 |