diff --git a/app/code/Magento/InventorySales/Model/IsProductSalableCondition/BackOrderNotifyCustomerCondition.php b/app/code/Magento/InventorySales/Model/IsProductSalableCondition/BackOrderNotifyCustomerCondition.php index d8d1538b37898..ab2d09ea32ce9 100644 --- a/app/code/Magento/InventorySales/Model/IsProductSalableCondition/BackOrderNotifyCustomerCondition.php +++ b/app/code/Magento/InventorySales/Model/IsProductSalableCondition/BackOrderNotifyCustomerCondition.php @@ -48,8 +48,7 @@ public function __construct( GetStockItemDataInterface $getStockItemData, ProductSalableResultInterfaceFactory $productSalableResultFactory, ProductSalabilityErrorInterfaceFactory $productSalabilityErrorFactory - ) - { + ) { $this->getStockItemConfiguration = $getStockItemConfiguration; $this->getStockItemData = $getStockItemData; $this->productSalableResultFactory = $productSalableResultFactory; @@ -81,8 +80,7 @@ public function execute(string $sku, int $stockId, float $requestedQty): Product 'We don\'t have as many quantity as you requested, ' . 'but we\'ll back order the remaining %1.', $backOrderQty * 1 - )] - ) + )]) ]; return $this->productSalableResultFactory->create(['errors' => $errors]); }