Showing 2 of 3 total issues
Method formatWithIntl
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function formatWithIntl(string $what): Closure
{
switch ($what) {
case 'number':
$fmt = new NumberFormatter($this->locale, NumberFormatter::DECIMAL);
Avoid too many return
statements within this method. Open
Open
return "[%$function%](%$result%)";