refactor(phpstan): change order interface to erp entity interface in Discount
Updated the 'canUsedInOrder' function in Discount.php to accept ERP Entity Interface arguments instead of Order Interfaces for better flexibility and compatibility. Added checks to ensure that the provided entity is an instance of the Order Interface, increasing robustness.
Übergeordneter
6100708f
Bitte registrieren oder Anmelden zum Kommentieren