src/CurrencyTransformer/PolishCurrencyTransformer.php
Method toWords
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function toWords(int $amount, string $currency, ?CurrencyTransformerOptions $options = null): string
{
$dictionary = new PolishDictionary();
$numberToTripletsConverter = new NumberToTripletsConverter();
$tripletTransformer = new PolishTripletTransformer($dictionary);