@@ -21,7 +21,8 @@ |
||
| 21 | 21 | |
| 22 | 22 | final class ProductReviewStateMachineTransitionApplicatorSpec extends ObjectBehavior |
| 23 | 23 | { |
| 24 | - function let(StateMachineFactoryInterface $stateMachineFactory) { |
|
| 24 | + function let(StateMachineFactoryInterface $stateMachineFactory) |
|
| 25 | + { |
|
| 25 | 26 | $this->beConstructedWith($stateMachineFactory); |
| 26 | 27 | } |
| 27 | 28 | |
@@ -162,11 +162,11 @@ |
||
| 162 | 162 | */ |
| 163 | 163 | public function thisProductReviewShouldNoLongerExistInTheRegistry(): void |
| 164 | 164 | { |
| 165 | - $id = (string) $this->sharedStorage->get('product_review_id'); |
|
| 166 | - Assert::false( |
|
| 167 | - $this->isItemOnIndex('id', $id), |
|
| 168 | - sprintf('Product review with id %s exist', $id) |
|
| 169 | - ); |
|
| 165 | + $id = (string) $this->sharedStorage->get('product_review_id'); |
|
| 166 | + Assert::false( |
|
| 167 | + $this->isItemOnIndex('id', $id), |
|
| 168 | + sprintf('Product review with id %s exist', $id) |
|
| 169 | + ); |
|
| 170 | 170 | } |
| 171 | 171 | |
| 172 | 172 | /** |
@@ -316,8 +316,7 @@ |
||
| 316 | 316 | $this->client->index('exchange_rates'); |
| 317 | 317 | |
| 318 | 318 | /** @var array $item */ |
| 319 | - foreach ($this->client->getCollectionItems() as $item) |
|
| 320 | - { |
|
| 319 | + foreach ($this->client->getCollectionItems() as $item) { |
|
| 321 | 320 | if ( |
| 322 | 321 | $item['sourceCurrency'] === '/new-api/currencies/' . $sourceCurrency->getCode() && |
| 323 | 322 | $item['targetCurrency'] === '/new-api/currencies/' . $targetCurrency->getCode() |