<?php

return [
    'transaction_attempts' => (int) env('INVENTORY_TX_ATTEMPTS', 5),

    'allow_negative_on_hand' => (bool) env('INVENTORY_ALLOW_NEGATIVE_ON_HAND', false),

    'allow_adjustment_on_inactive_item' => (bool) env('INVENTORY_ADJUST_INACTIVE_ITEM', false),

    'observability' => [
        'enabled' => (bool) env('INVENTORY_OBSERVABILITY', true),
    ],
];
