Skip to content

Commit

Permalink
Merge pull request #172 from romainruaud/fix_visibility-alias-21
Browse files Browse the repository at this point in the history
Adding an alias for the Section Visibility usage.
  • Loading branch information
romainruaud authored Oct 18, 2016
2 parents f9d83b1 + 5b564d2 commit 798d1a4
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down

0 comments on commit 798d1a4

Please sign in to comment.