Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
francescopis committed Jun 10, 2018
1 parent 93114ed commit 9818a9b
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ public function __construct(
GetStockItemDataInterface $getStockItemData,
ProductSalableResultInterfaceFactory $productSalableResultFactory,
ProductSalabilityErrorInterfaceFactory $productSalabilityErrorFactory
)
{
) {
$this->getStockItemConfiguration = $getStockItemConfiguration;
$this->getStockItemData = $getStockItemData;
$this->productSalableResultFactory = $productSalableResultFactory;
Expand Down Expand Up @@ -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]);
}
Expand Down

0 comments on commit 9818a9b

Please sign in to comment.