We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5b7d2ba + fbc9275 commit 16c151aCopy full SHA for 16c151a
app/code/Magento/ProductAlert/Model/UpdateThemeParams.php
@@ -37,15 +37,15 @@ public function __construct(
37
* Update theme params for multi store email templates
38
*
39
* @param Resolver $subject
40
- * @param string $template
+ * @param string|null $template
41
* @param array $params
42
* @return array
43
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
44
* @throws NoSuchEntityException
45
*/
46
public function beforeGetTemplateFileName(
47
Resolver $subject,
48
- string $template,
+ string|null $template,
49
array $params = []
50
): array {
51
if ($template === $this->stock->getTemplate() && !isset($params['themeId'])) {
0 commit comments