Skip to content

Commit

Permalink
Merge pull request #67 from EmicoEcommerce/php8.2
Browse files Browse the repository at this point in the history
Php 8.2 changes
  • Loading branch information
ah-net authored Mar 15, 2023
2 parents 475bc5b + ca3757f commit 9f7b824
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "emico/m2-attributelanding",
"description": "Attribute landing pages for Magento 2",
"require": {
"php": ">=7.4 <8.2",
"php": ">=8.0 <8.3",
"magento/module-sitemap": "^100.2||^100.4",
"magento/module-catalog": "^102.0||^103.0||^104.0"
},
Expand Down
9 changes: 9 additions & 0 deletions src/Model/LandingPageRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,16 @@ class LandingPageRepository implements LandingPageRepositoryInterface
*/
private $searchCriteriaBuilder;

/**
* @var StoreManagerInterface
*/
private StoreManagerInterface $storeManager;

/**
* @var Options
*/
private Options $options;

/**
* @param ResourcePage $resource
* @param LandingPageInterfaceFactory $dataPageFactory
Expand All @@ -71,6 +79,7 @@ class LandingPageRepository implements LandingPageRepositoryInterface
* @param CollectionProcessorInterface $collectionProcessor
* @param JoinProcessorInterface $extensionAttributesJoinProcessor
* @param SearchCriteriaBuilder $searchCriteriaBuilder
* @param Options $options
*/
public function __construct(
ResourcePage $resource,
Expand Down
6 changes: 6 additions & 0 deletions src/Observer/SeoObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ class SeoObserver implements ObserverInterface
*/
private PageConfig $pageConfig;

/**
* @var Config $config
*/
private Config $config;

/**
* @var LandingPageContext
*/
Expand All @@ -51,6 +56,7 @@ class SeoObserver implements ObserverInterface
/**
* MetaTagsObserver constructor.
* @param PageConfig $pageConfig
* @param Config $config
* @param LandingPageContext $landingPageContext
* @param CategoryRepositoryInterface $categoryRepository
* @param StoreManagerInterface $storeManager
Expand Down

0 comments on commit 9f7b824

Please sign in to comment.