Style Layout/MultilineMethodCallIndentation

This commit is contained in:
Maikel Linke
2023-06-08 11:15:42 +10:00
parent bf051fc35b
commit 99fbf80b4c

View File

@@ -16,7 +16,7 @@ module OrderValidations
# Check that line_items in the current order are available from a newly selected distribution
def products_available_from_new_distribution
return if OrderCycleDistributedVariants.new(order_cycle, distributor)
.distributes_order_variants?(self)
.distributes_order_variants?(self)
errors.add(:base, I18n.t(:spree_order_availability_error))
end