<?php
declare(strict_types=1);

namespace Autogedal\StockLog\Model\Config\Source;

use Magento\Framework\Data\OptionSourceInterface;

class InStock implements OptionSourceInterface
{
    public function toOptionArray(): array
    {
        return [
            ['value' => '0', 'label' => __('Out of Stock')],
            ['value' => '1', 'label' => __('In Stock')],
        ];
    }
}
