Skip to content

Commit fbc9275

Browse files
authored
Merge pull request #9801 from magento-gl/spartans_pr_15052025
[Spartans] BugFix Delivery
2 parents 1bc2d6d + 7f902ff commit fbc9275

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/code/Magento/ProductAlert/Model/UpdateThemeParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ public function __construct(
3737
* Update theme params for multi store email templates
3838
*
3939
* @param Resolver $subject
40-
* @param string $template
40+
* @param string|null $template
4141
* @param array $params
4242
* @return array
4343
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
4444
* @throws NoSuchEntityException
4545
*/
4646
public function beforeGetTemplateFileName(
4747
Resolver $subject,
48-
string $template,
48+
string|null $template,
4949
array $params = []
5050
): array {
5151
if ($template === $this->stock->getTemplate() && !isset($params['themeId'])) {

0 commit comments

Comments
 (0)