<?php

namespace CouponsPlus\App\Coupon\Tree\Sets;

use CouponsPlus\App\Conditions\ItemsSet;
use CouponsPlus\App\Coupon\Tree\Sets\Abilities\ItemsSetSorterInterface;

/**
 * Possibly not used at the moment while we figure out a way to keep backwards compatibility with the old system.
 */
class NoSpecialSorting implements ItemsSetSorterInterface
{
    public function sort(ItemsSet $itemsSet): array
    {
        return $itemsSet->getItems()->asArray();
    }
}