Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding an alias for the Section Visibility usage. #136

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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