Skip to content

Commit

Permalink
Merge pull request #136 from romainruaud/fix_compilation-error-visibi…
Browse files Browse the repository at this point in the history
…lity

Adding an alias for the Section Visibility usage.
  • Loading branch information
afoucret authored Sep 26, 2016
2 parents e305179 + 2d1dbe4 commit 2e1fb99
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 2e1fb99

Please sign in to comment.