Skip to content

Commit

Permalink
Static analysis fix for v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Karol Wojciechowski committed Feb 20, 2024
1 parent 2091a86 commit 59e58cb
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/Message/CompletePurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ class CompletePurchaseRequest extends AbstractRequest
public function getData()
{
$this->validate('amount', 'currency');
$tpayHandler = new CardNotificationHandler(
$this->getApiKey(),
$this->getApiPassword(),
$this->getVerificationCode(),
$this->getHashType()
);
$tpayHandler = new CardNotificationHandler();

$localResources['amount'] = $this->getAmount();
$tpayHandler->setAmount((float) $this->getAmount());
Expand Down

0 comments on commit 59e58cb

Please sign in to comment.