src/CurrencyTransformer/SlovakCurrencyTransformer.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 SlovakDictionary();
$numberToTripletsConverter = new NumberToTripletsConverter();
$tripletTransformer = new SlovakTripletTransformer($dictionary);