<?php
/**
 * BSS Commerce Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://bsscommerce.com/Bss-Commerce-License.txt
 *
 * @category   BSS
 * @package    Bss_ImportExportCore
 * @author     Extension Team
 * @copyright  Copyright (c) 2025 BSS Commerce Co. ( http://bsscommerce.com )
 * @license    http://bsscommerce.com/Bss-Commerce-License.txt
 */
declare(strict_types=1);

namespace Bss\ImportExportCore\Plugin;

class Report
{
    /**
     * @param \Magento\ImportExport\Helper\Report $subject
     * @param $time
     * @return array|string[]
     */
    public function beforeGetExecutionTime($subject, $time)
    {
        if (!$time) {
            $time = 'now';
        }
        return [$time];
    }
}
