From 2d1dbe4fb6d0c0701c5f5f49e2de79a211fd4550 Mon Sep 17 00:00:00 2001 From: Romain Ruaud Date: Fri, 23 Sep 2016 14:41:16 +0200 Subject: [PATCH] Adding an alias for the Section Visibility usage. --- .../Request/RelevanceConfig/Structure/Element/Section.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Section.php b/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Section.php index d95204677..1088669d7 100644 --- a/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Section.php +++ b/src/module-elasticsuite-core/Model/Search/Request/RelevanceConfig/Structure/Element/Section.php @@ -16,7 +16,7 @@ use Magento\Framework\AuthorizationInterface; use Magento\Framework\Module\Manager; use Magento\Store\Model\StoreManagerInterface; -use Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Section\Visibility; +use Smile\ElasticsuiteCore\Model\Search\Request\RelevanceConfig\Structure\Element\Section\Visibility as SectionVisibility; /** * Relevance configuration section model @@ -39,14 +39,14 @@ class Section extends \Magento\Config\Model\Config\Structure\Element\Section * @param Manager $moduleManager The module manager * @param Iterator $childrenIterator The children iterator * @param AuthorizationInterface $authorization The authorization manager - * @param Visibility $visibility The visibility manager + * @param SectionVisibility $visibility The visibility manager */ public function __construct( StoreManagerInterface $storeManager, Manager $moduleManager, Iterator $childrenIterator, AuthorizationInterface $authorization, - Visibility $visibility + SectionVisibility $visibility ) { parent::__construct($storeManager, $moduleManager, $childrenIterator, $authorization); $this->visibility = $visibility;