update fix deadcode, security
This commit is contained in:
@@ -7,8 +7,8 @@ use App\Helpers\OrderHelper;
|
||||
use App\Jobs\Mail\Admin\AdminOrderNotificationJob;
|
||||
use App\Models\Order;
|
||||
use App\Models\Product;
|
||||
use App\Repositories\Api\Invoice\InvoiceRepository;
|
||||
use App\Repositories\Api\Order\OrderRepository;
|
||||
use App\Repositories\Api\Invoice\InvoiceRepositoryInterface;
|
||||
use App\Repositories\Api\Order\OrderRepositoryInterface;
|
||||
use App\Repositories\Api\Service\ServiceRepository;
|
||||
use App\Services\InvoicePaymentService;
|
||||
use App\Support\AddonQuantityValidator;
|
||||
@@ -19,9 +19,9 @@ use Illuminate\Support\Facades\Log;
|
||||
class OrderService
|
||||
{
|
||||
public function __construct(
|
||||
protected OrderRepository $orderRepo,
|
||||
protected OrderRepositoryInterface $orderRepo,
|
||||
protected ServiceRepository $productRepo,
|
||||
protected InvoiceRepository $invoiceRepo,
|
||||
protected InvoiceRepositoryInterface $invoiceRepo,
|
||||
protected InvoicePaymentService $invoicePaymentService,
|
||||
) {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user