From 9818a9b8978fde4cf7f03f058c4b46ffa3443451 Mon Sep 17 00:00:00 2001 From: Francesco Pisello Date: Sun, 10 Jun 2018 09:49:17 +0200 Subject: [PATCH] Fix phpcs --- .../BackOrderNotifyCustomerCondition.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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]); }