Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 23d148c

Browse files
committed
[Minor][Behat] Style and type refactor
1 parent 13ff50c commit 23d148c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Sylius/Behat/Context/Api/Shop/CurrencyContext.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ public function iBrowseCurrencies(): void
4646
* @Then I should see :firstCurrency and :secondCurrency in the list
4747
* @Then I should see :firstCurrency, :secondCurrency and :thirdCurrency in the list
4848
*/
49-
public function iShouldSeeCurrenciesInTheList(... $currencies): void
49+
public function iShouldSeeCurrenciesInTheList(string ...$currenciesCodes): void
5050
{
5151
$response = $this->client->getLastResponse();
5252

53-
foreach ($currencies as $currency) {
54-
$this->responseChecker->getCollectionItemsWithValue($response, 'code', $currency);
53+
foreach ($currenciesCodes as $currencyCode) {
54+
$this->responseChecker->getCollectionItemsWithValue($response, 'code', $currencyCode);
5555
}
5656
}
5757
}

0 commit comments

Comments
 (0)