Skip to content

Commit

Permalink
fix: remove UrlBuilder from BillingPresenter
Browse files Browse the repository at this point in the history
  • Loading branch information
TakeshiDaveau committed Jan 17, 2025
1 parent 9657409 commit 29d1109
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions src/Presenter/BillingPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@

use Module;
use PrestaShopCorp\Billing\Builder\EnvBuilder;
use PrestaShopCorp\Billing\Builder\UrlBuilder;
use PrestaShopCorp\Billing\Exception\BillingContextException;
use PrestaShopCorp\Billing\Wrappers\BillingContextWrapper;

Expand All @@ -36,11 +35,6 @@ class BillingPresenter
*/
private $envBuilder;

/**
* @var UrlBuilder
*/
private $urlBuilder;

/**
* @var BillingContextWrapper
*/
Expand All @@ -65,7 +59,6 @@ public function __construct(
$this->setModule($module);

$this->setEnvBuilder(new EnvBuilder());
$this->setUrlBuilder(new UrlBuilder());

$this->setBillingContextWrapper($billingContextWrapper);
}
Expand Down Expand Up @@ -222,28 +215,6 @@ private function getEnvBuilder()
return $this->envBuilder;
}

/**
* setUrlBuilder
*
* @param UrlBuilder $urlBuilder
*
* @return void
*/
private function setUrlBuilder(UrlBuilder $urlBuilder)
{
$this->urlBuilder = $urlBuilder;
}

/**
* getUrlBuilder
*
* @return UrlBuilder
*/
private function getUrlBuilder()
{
return $this->urlBuilder;
}

/**
* setBillingContextWrapper
*
Expand Down

0 comments on commit 29d1109

Please sign in to comment.