Skip to content

Commit

Permalink
issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mant02 committed Apr 14, 2023
1 parent ad3cf12 commit 86f82fc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Service/Request/RequestObjectCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
use Invertus\SaferPay\DTO\Request\SaferPayNotification;
use Invertus\SaferPay\DTO\Response\Amount;
use Invertus\SaferPay\Enum\GenderEnum;
use Invertus\SaferPay\Factory\ModuleFactory;
use Invertus\SaferPay\Provider\IdempotencyProviderInterface;
use Invertus\SaferPay\Repository\OrderRepositoryInterface;
use Invertus\SaferPay\Utility\PriceUtility;
Expand All @@ -51,7 +52,7 @@
class RequestObjectCreator
{
/**
* @var SaferPayOfficial
* @var ModuleFactory
*/
protected $module;

Expand All @@ -70,12 +71,12 @@ class RequestObjectCreator
private $idempotencyProvider;

public function __construct(
SaferPayOfficial $module,
ModuleFactory $module,
PriceUtility $priceUtility,
OrderRepositoryInterface $orderRepository,
IdempotencyProviderInterface $idempotencyProvider
) {
$this->module = $module;
$this->module = $module->getModule();
$this->priceUtility = $priceUtility;
$this->orderRepository = $orderRepository;
$this->idempotencyProvider = $idempotencyProvider;
Expand Down

0 comments on commit 86f82fc

Please sign in to comment.