Common/Util/Formatter.php
public function rates(Adjustment ...$adjustments): string
    {
        return implode(', ', array_map(function (Adjustment $adjustment) {
            return $this->percent($adjustment->getRate());
        }, $adjustments));
    }
public function rates(Adjustment ...$adjustments): string
    {
        return implode(', ', array_map(function (Adjustment $adjustment) {
            return $this->percent($adjustment->getRate());
        }, $adjustments));
    }
Formats the given adjustments rates for display.

@param Adjustment[] $adjustments

@return string