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.
1 parent 9ad9c9a commit 0925f36Copy full SHA for 0925f36
app/code/Magento/PageCache/Controller/Block.php
@@ -76,7 +76,8 @@ public function __construct(
76
?: ObjectManager::getInstance()->get(Base64Json::class);
77
$this->layoutCacheKey = $layoutCacheKey
78
?: ObjectManager::getInstance()->get(LayoutCacheKeyInterface::class);
79
- $this->regexValidatorFactory = ObjectManager::getInstance()->get(RegexFactory::class);
+ $this->regexValidatorFactory = $regexValidatorFactory
80
+ ?: ObjectManager::getInstance()->get(RegexFactory::class);
81
}
82
83
/**
0 commit comments