update fix deadcode, security
This commit is contained in:
@@ -15,11 +15,6 @@ interface OrderRepositoryInterface extends BaseRepositoryInterface
|
||||
*/
|
||||
public function createItem(int $orderId, array $data): OrderItem;
|
||||
|
||||
/**
|
||||
* Mark order as completed, update the related invoice as paid.
|
||||
*/
|
||||
public function processPayment(Order $order, string $method): Order;
|
||||
|
||||
/**
|
||||
* Return true if the customer has any pending orders.
|
||||
*/
|
||||
@@ -34,4 +29,6 @@ interface OrderRepositoryInterface extends BaseRepositoryInterface
|
||||
* Find an order by order_num, scoped to the owning customer.
|
||||
*/
|
||||
public function findByOrderNum(string $orderNum, int $customerId): ?Order;
|
||||
|
||||
public function findForCustomer(int $id, int $customerId): ?Order;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user