We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 18aab3c commit 1de30e3Copy full SHA for 1de30e3
app/code/Magento/Newsletter/Model/Config.php
@@ -41,7 +41,7 @@ public function __construct(
41
* @param string $scopeType
42
* @return bool
43
*/
44
- public function isActive(string $scopeType = ScopeConfigInterface::SCOPE_TYPE_DEFAULT): bool
+ public function isActive(string $scopeType = \Magento\Store\Model\ScopeInterface::SCOPE_STORE): bool
45
{
46
return $this->scopeConfig->isSetFlag(self::XML_PATH_NEWSLETTER_ACTIVE, $scopeType);
47
}
0 commit comments