Skip to content

Commit

Permalink
Removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
BitcoinMitchell committed Feb 14, 2024
1 parent 2d2495a commit 73daf8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
5 changes: 0 additions & 5 deletions modules/btcpay/btcpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ class BTCPay extends PaymentModule
],
];

/**
* @var Client
*/
private $client;

/**
* @var BitcoinPaymentRepository
*/
Expand Down
16 changes: 2 additions & 14 deletions modules/btcpay/src/Server/WebhookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,6 @@

class WebhookHandler
{
/**
* @var \BTCPay
*/
private $module;

/**
* @var Client
*/
private $client;

/**
* @var LegacyBitcoinPaymentRepository
*/
Expand All @@ -37,11 +27,9 @@ class WebhookHandler

public function __construct(\BTCPay $module, Client $client, LegacyBitcoinPaymentRepository $repository)
{
$this->module = $module;
$this->client = $client;
$this->repository = $repository;
$this->repository = $repository;
$this->configuration = new Configuration();
$this->processor = new Processor($this->module, $this->configuration, $this->client);
$this->processor = new Processor($module, $this->configuration, $client);
}

/**
Expand Down

0 comments on commit 73daf8f

Please sign in to comment.