@@ -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 | |
@@ -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() |