Skip to content

Commit

Permalink
fix: php-stan
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john committed Mar 27, 2023
1 parent 33f6193 commit 5b5f561
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/Service/ExportService.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@
use Language;
use Module;
use Order;
use PrestaShop\Module\Psgdpr\Service\Smarty;
use PDFGenerator;
use PrestaShop\PrestaShop\Adapter\Entity\CustomerThread;
use PrestaShop\PrestaShop\Core\Domain\Customer\ValueObject\CustomerId;
Expand Down Expand Up @@ -250,7 +249,6 @@ private function exportCustomerToPdf(CustomerId $customerId, array $customerData

$pdfGenerator = new PDFGenerator(false, 'P');

/** @var Smarty $smarty */
$smarty = $this->context->smarty;

if ($smarty === null) {
Expand Down
6 changes: 0 additions & 6 deletions src/Service/PdfGeneratorService.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ class PdfGeneratorService extends HTMLTemplate
/**
* @param array $customerData
* @param Smarty $smarty
*
* @throws PrestaShopException
*/
public function __construct($customerData, Smarty $smarty)
{
Expand All @@ -70,8 +68,6 @@ public function __construct($customerData, Smarty $smarty)
* Returns the template's HTML footer
*
* @return string HTML footer
*
* @throws SmartyException
*/
public function getFooter()
{
Expand All @@ -92,8 +88,6 @@ public function getFooter()
* Returns the template's HTML content
*
* @return string HTML content
*
* @throws SmartyException
*/
public function getContent()
{
Expand Down

0 comments on commit 5b5f561

Please sign in to comment.