From df179568c9de44bbcf75dd23e7d1adedc602dbd2 Mon Sep 17 00:00:00 2001 From: MarkusGaertner Date: Mon, 4 Nov 2024 15:20:44 +0100 Subject: [PATCH] =?UTF-8?q?use=20Constants=20erg=C3=A4nzt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Modules/Application/Controller/ThankYouController.php | 2 +- .../Application/Controller/d3GtmAccountNoticeListController.php | 2 ++ .../Application/Controller/d3GtmAccountRecommlistController.php | 2 ++ .../Application/Controller/d3GtmAccountWishlistController.php | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Modules/Application/Controller/ThankYouController.php b/Modules/Application/Controller/ThankYouController.php index dd90187..250d7c5 100644 --- a/Modules/Application/Controller/ThankYouController.php +++ b/Modules/Application/Controller/ThankYouController.php @@ -16,7 +16,7 @@ class ThankYouController extends ThankYouController_parent $oOrder = $this->getOrder(); $sCountryId = $oOrder->getFieldData('oxbillcountryid'); - /** @var Country $oCountry */ + /** @var Country::class $oCountry */ $oCountry = oxNew(Country::class); $oCountry->load($sCountryId); diff --git a/Modules/Application/Controller/d3GtmAccountNoticeListController.php b/Modules/Application/Controller/d3GtmAccountNoticeListController.php index 1a3ae17..a61efb3 100644 --- a/Modules/Application/Controller/d3GtmAccountNoticeListController.php +++ b/Modules/Application/Controller/d3GtmAccountNoticeListController.php @@ -2,6 +2,8 @@ namespace D3\GoogleAnalytics4\Modules\Application\Controller; +use D3\GoogleAnalytics4\Application\Model\Constants; + class d3GtmAccountNoticeListController extends d3GtmAccountNoticeListController_parent { protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/page/account/d3gtmnoticelist.tpl'; diff --git a/Modules/Application/Controller/d3GtmAccountRecommlistController.php b/Modules/Application/Controller/d3GtmAccountRecommlistController.php index 8bef631..4e1dc98 100644 --- a/Modules/Application/Controller/d3GtmAccountRecommlistController.php +++ b/Modules/Application/Controller/d3GtmAccountRecommlistController.php @@ -2,6 +2,8 @@ namespace D3\GoogleAnalytics4\Modules\Application\Controller; +use D3\GoogleAnalytics4\Application\Model\Constants; + class d3GtmAccountRecommlistController extends d3GtmAccountRecommlistController_parent { protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/page/account/d3gtmrecommendationlist.tpl'; diff --git a/Modules/Application/Controller/d3GtmAccountWishlistController.php b/Modules/Application/Controller/d3GtmAccountWishlistController.php index 8fc2838..0a6e9aa 100644 --- a/Modules/Application/Controller/d3GtmAccountWishlistController.php +++ b/Modules/Application/Controller/d3GtmAccountWishlistController.php @@ -2,6 +2,8 @@ namespace D3\GoogleAnalytics4\Modules\Application\Controller; +use D3\GoogleAnalytics4\Application\Model\Constants; + class d3GtmAccountWishlistController extends d3GtmAccountWishlistController_parent { protected $_sThisTemplate = '@' . Constants::OXID_MODULE_ID . '/page/account/d3gtmwishlist.tpl';