src/CurrencyTransformer/ArabicCurrencyTransformer.php
Method toWords
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function toWords(int $amount, string $currency, $options = null): string
{
$dictionary = new ArabicDictionary();
$numberToTripletsConverter = new NumberToTripletsConverter();
$tripletTransformer = new ArabicTripletTransformer($dictionary);