Commit 2afab87e authored by Karl Shea's avatar Karl Shea
Browse files

Issue #3272045 by KarlShea: Fix missing method added in commerce_stock 1.0

parent b1ac5730
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -21,6 +21,13 @@ class SellOnceChecker implements StockCheckInterface {
    return 0;
  }

  /**
   * {@inheritdoc}
   */
  public function getTotalAvailableStockLevel(PurchasableEntityInterface $entity, array $locations) {
    return $this->getTotalStockLevel($entity, $locations);
  }

  /**
   * {@inheritdoc}
   */