@@ -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 |
@@ -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 |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | } |
85 | 85 | ] |
86 | 86 | } |
87 | -EOT; |
|
87 | +eot; |
|
88 | 88 | |
89 | 89 | $this->client->request('POST', '/api/v1/zones/country', [], [], static::$authorizedHeaderWithContentType, $data); |
90 | 90 | |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | } |
215 | 215 | ] |
216 | 216 | } |
217 | -EOT; |
|
217 | +eot; |
|
218 | 218 | |
219 | 219 | $this->client->request('PUT', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data); |
220 | 220 | |
@@ -265,7 +265,7 @@ discard block |
||
265 | 265 | { |
266 | 266 | "name": "European Union +" |
267 | 267 | } |
268 | -EOT; |
|
268 | +eot; |
|
269 | 269 | |
270 | 270 | $this->client->request('PATCH', '/api/v1/zones/' . $zones['zone_eu']->getCode(), [], [], static::$authorizedHeaderWithContentType, $data); |
271 | 271 |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\GridBundle\Doctrine\ORM; |
15 | 15 | |
16 | -use Doctrine\ORM\Query\Expr\Comparison; |
|
17 | 16 | use Doctrine\ORM\QueryBuilder; |
17 | +use Doctrine\ORM\Query\Expr\Comparison; |
|
18 | 18 | use Sylius\Component\Grid\Data\ExpressionBuilderInterface; |
19 | 19 | |
20 | 20 | final class ExpressionBuilder implements ExpressionBuilderInterface |
@@ -15,8 +15,8 @@ |
||
15 | 15 | |
16 | 16 | use Doctrine\Common\Persistence\ObjectManager; |
17 | 17 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
18 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
19 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
19 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
20 | 20 | |
21 | 21 | class AverageRatingUpdater implements ReviewableRatingUpdaterInterface |
22 | 22 | { |
@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
15 | 15 | |
16 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
17 | 16 | use Sylius\Component\Review\Model\ReviewInterface; |
17 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
18 | 18 | |
19 | 19 | interface ReviewableRatingUpdaterInterface |
20 | 20 | { |
@@ -18,7 +18,13 @@ |
||
18 | 18 | |
19 | 19 | interface ReviewableRatingUpdaterInterface |
20 | 20 | { |
21 | + /** |
|
22 | + * @return void |
|
23 | + */ |
|
21 | 24 | public function update(ReviewableInterface $reviewSubject): void; |
22 | 25 | |
26 | + /** |
|
27 | + * @return void |
|
28 | + */ |
|
23 | 29 | public function updateFromReview(ReviewInterface $review): void; |
24 | 30 | } |