File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
app/code/Magento/LayeredNavigation/Block/Navigation Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
namespace Magento \LayeredNavigation \Block \Navigation ;
9
9
10
+ use Magento \Catalog \Model \Layer \Filter \FilterInterface ;
10
11
use Magento \Framework \View \Element \Template ;
12
+ use Magento \LayeredNavigation \Block \Navigation \FilterRendererInterface ;
11
13
12
- class FilterRenderer extends \Magento \Framework \View \Element \Template implements
13
- \Magento \LayeredNavigation \Block \Navigation \FilterRendererInterface
14
+ class FilterRenderer extends Template implements FilterRendererInterface
14
15
{
15
16
/**
16
- * @param \Magento\Catalog\Model\Layer\Filter\AbstractFilter $filter
17
+ * @param FilterInterface $filter
17
18
* @return string
18
19
*/
19
- public function render (\ Magento \ Catalog \ Model \ Layer \ Filter \ AbstractFilter $ filter )
20
+ public function render (FilterInterface $ filter )
20
21
{
21
22
$ this ->assign ('filterItems ' , $ filter ->getItems ());
22
23
$ html = $ this ->_toHtml ();
You can’t perform that action at this time.
0 commit comments