Skip to content

Commit 9d0cb77

Browse files
authored
Merge pull request #1304 from algolia/update/MAGE-556
MAGE-556 - backwards compatible for older than php 7.4 (Ready to go)
2 parents 1088157 + 3380873 commit 9d0cb77

File tree

5 files changed

+17
-17
lines changed

5 files changed

+17
-17
lines changed

Observer/Insights/CheckoutCartProductAddAfter.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ class CheckoutCartProductAddAfter implements ObserverInterface
1818
{
1919

2020
/** @var Data */
21-
protected Data $dataHelper;
21+
protected $dataHelper;
2222

2323
/** @var InsightsHelper */
24-
protected InsightsHelper $insightsHelper;
24+
protected $insightsHelper;
2525

2626
/** @var LoggerInterface */
27-
protected LoggerInterface $logger;
27+
protected $logger;
2828

2929
/** @var ConfigHelper */
30-
protected ConfigHelper $configHelper;
30+
protected $configHelper;
3131

3232
/** @var PersonalizationHelper */
33-
private PersonalizationHelper $personalizationHelper;
33+
protected $personalizationHelper;
3434

3535
/** @var SessionManagerInterface */
36-
protected SessionManagerInterface $coreSession;
36+
protected $coreSession;
3737

3838
/**
3939
* @param Data $dataHelper

Observer/Insights/CheckoutCartProductAddBefore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class CheckoutCartProductAddBefore implements ObserverInterface
1010
{
1111
/** @var SessionManagerInterface */
12-
protected SessionManagerInterface $coreSession;
12+
protected $coreSession;
1313

1414
/**
1515
* @param SessionManagerInterface $coreSession

Observer/Insights/CheckoutOnepageControllerSuccessAction.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
class CheckoutOnepageControllerSuccessAction implements ObserverInterface
1717
{
1818
/** @var Data */
19-
protected Data $dataHelper;
19+
protected $dataHelper;
2020

2121
/** @var InsightsHelper */
22-
protected InsightsHelper $insightsHelper;
22+
protected $insightsHelper;
2323

2424
/** @var OrderFactory */
25-
protected OrderFactory $orderFactory;
25+
protected $orderFactory;
2626

2727
/** @var LoggerInterface */
28-
protected LoggerInterface $logger;
28+
protected $logger;
2929

3030
/** @var ConfigHelper */
31-
protected ConfigHelper $configHelper;
31+
protected $configHelper;
3232

3333
/**
3434
* @param Data $dataHelper

Observer/Insights/CustomerLogin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class CustomerLogin implements ObserverInterface
1111
{
1212

1313
/** @var InsightsHelper */
14-
protected InsightsHelper $insightsHelper;
14+
protected $insightsHelper;
1515

1616
/**
1717
* @param InsightsHelper $insightsHelper

Observer/Insights/WishlistProductAddAfter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@
1515
class WishlistProductAddAfter implements ObserverInterface
1616
{
1717
/** @var Data */
18-
protected Data $dataHelper;
18+
protected $dataHelper;
1919

2020
/** @var PersonalizationHelper */
21-
protected PersonalizationHelper $personalisationHelper;
21+
protected $personalisationHelper;
2222

2323
/** @var InsightsHelper */
24-
protected InsightsHelper $insightsHelper;
24+
protected $insightsHelper;
2525

2626
/** @var LoggerInterface */
27-
protected LoggerInterface $logger;
27+
protected $logger;
2828

2929
/**
3030
* CheckoutCartProductAddAfter constructor.

0 commit comments

Comments
 (0)