Skip to content

Commit a167e20

Browse files
committed
MAGETWO-69543: Fixes regression bug introduced in Magento 2.1.6 where the layered navigation options are sometimes being cached using the wrong store id. #9704
1 parent 596f94e commit a167e20

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/code/Magento/Eav/Model/Entity/Attribute/Frontend/AbstractFrontend.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Magento\Eav\Model\Entity\Attribute\Frontend;
1313

1414
use Magento\Framework\App\CacheInterface;
15-
use Magento\Store\Api\StoreResolverInterface;
1615
use Magento\Store\Model\StoreManagerInterface;
1716
use Magento\Framework\App\ObjectManager;
1817
use Magento\Eav\Model\Cache\Type as CacheType;
@@ -57,7 +56,7 @@ abstract class AbstractFrontend implements \Magento\Eav\Model\Entity\Attribute\F
5756
/**
5857
* @param \Magento\Eav\Model\Entity\Attribute\Source\BooleanFactory $attrBooleanFactory
5958
* @param CacheInterface $cache
60-
* @param StoreResolverInterface $storeResolver
59+
* @param $storeResolver @deprecated
6160
* @param array $cacheTags
6261
* @param StoreManagerInterface $storeManager
6362
* @codeCoverageIgnore
@@ -66,7 +65,7 @@ abstract class AbstractFrontend implements \Magento\Eav\Model\Entity\Attribute\F
6665
public function __construct(
6766
\Magento\Eav\Model\Entity\Attribute\Source\BooleanFactory $attrBooleanFactory,
6867
CacheInterface $cache = null,
69-
StoreResolverInterface $storeResolver = null,
68+
$storeResolver = null,
7069
array $cacheTags = null,
7170
StoreManagerInterface $storeManager = null
7271
) {

0 commit comments

Comments
 (0)