Skip to content

Commit

Permalink
WarehouseManagerInterface: Fix codestyle.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed May 24, 2022
1 parent 305dc10 commit 425658b
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/Service/WarehouseManagerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@ public function getById(int $id): WarehouseInterface;

public function createWarehouse(string $name): WarehouseInterface;

public function getWarehouseItem(ProductInterface|ProductVariantInterface|WarehouseItemInterface|string $item): WarehouseItemInterface;
public function getWarehouseItem(
ProductInterface|ProductVariantInterface|WarehouseItemInterface|string $item,
): WarehouseItemInterface;

public function createWarehouseItem(ProductInterface|ProductVariantInterface|string $item): WarehouseItemInterface;

Expand All @@ -36,9 +38,14 @@ public function getRealCapacity(ProductInterface|ProductVariantInterface|Warehou

public function getTotalCapacity(ProductInterface|ProductVariantInterface|WarehouseItemInterface|string $item): int;

public function getReservedCapacity(ProductInterface|ProductVariantInterface|WarehouseItemInterface|string $item): int;
public function getReservedCapacity(
ProductInterface|ProductVariantInterface|WarehouseItemInterface|string $item,
): int;

public function getCapacity(WarehouseItemInterface $item, ?WarehouseInterface $warehouse = null): WarehouseCapacityInterface;
public function getCapacity(
WarehouseItemInterface $item,
?WarehouseInterface $warehouse = null,
): WarehouseCapacityInterface;

public function reserveCapacity(
ProductInterface|ProductVariantInterface|WarehouseItemInterface|string $item,
Expand Down

0 comments on commit 425658b

Please sign in to comment.