Skip to content

Commit 65bb095

Browse files
committed
#24730: remove unnecessary private method
1 parent 182a65c commit 65bb095

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

app/code/Magento/Sales/Model/Order/Invoice/GetLogoFile.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,11 @@ public function execute(): ?string
5656
return sprintf(
5757
"%s%s%s",
5858
$this->urlBuilder->getBaseUrl(['_type' => UrlInterface::URL_TYPE_MEDIA]),
59-
$this->getLogoBaseDir(),
59+
self::LOGO_BASE_DIR,
6060
$invoiceLogoPath
6161
);
6262
}
6363

64-
/**
65-
* Get base directory for Custom Invoice Logo
66-
*
67-
* @return string
68-
*/
69-
private function getLogoBaseDir(): string
70-
{
71-
return self::LOGO_BASE_DIR;
72-
}
73-
7464
/**
7565
* Get Admin Configuration for Invoice Logo HTML
7666
*

0 commit comments

Comments
 (0)