Skip to content

Commit

Permalink
MAGE-1023 Use alias to clearly distinguish type
Browse files Browse the repository at this point in the history
  • Loading branch information
cammonro committed Sep 9, 2024
1 parent 7807962 commit 86afd11
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Block/Algolia.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Algolia\AlgoliaSearch\Helper\Entity\ProductHelper;
use Algolia\AlgoliaSearch\Helper\Entity\SuggestionHelper;
use Algolia\AlgoliaSearch\Helper\LandingPageHelper;
use Algolia\AlgoliaSearch\Model\LandingPage as LandingPageModel;
use Algolia\AlgoliaSearch\Registry\CurrentCategory;
use Algolia\AlgoliaSearch\Registry\CurrentProduct;
use Algolia\AlgoliaSearch\Service\Product\SortingTransformer;
Expand Down Expand Up @@ -215,7 +216,7 @@ protected function getAddToCartUrl($additional = []): string
return $this->_urlBuilder->getUrl('checkout/cart/add', $routeParams);
}

protected function getCurrentLandingPage(): \Algolia\AlgoliaSearch\Model\LandingPage|null|false
protected function getCurrentLandingPage(): LandingPageModel|null|false
{
$landingPageId = $this->getRequest()->getParam('landing_page_id');
if (!$landingPageId) {
Expand Down

0 comments on commit 86afd11

Please sign in to comment.