From 9bc325f129c27a0e1d6d3f388a05349b2ab4844b Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 21 Jun 2023 10:37:19 +0200 Subject: [PATCH] Update app/code/core/Mage/GoogleAnalytics/Helper/Data.php Co-authored-by: Fabrizio Balliano --- app/code/core/Mage/GoogleAnalytics/Helper/Data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/core/Mage/GoogleAnalytics/Helper/Data.php b/app/code/core/Mage/GoogleAnalytics/Helper/Data.php index f0bcb18f585..d820bee4762 100644 --- a/app/code/core/Mage/GoogleAnalytics/Helper/Data.php +++ b/app/code/core/Mage/GoogleAnalytics/Helper/Data.php @@ -146,7 +146,7 @@ public function isUserIdEnabled($store = null) * @param Mage_Catalog_Model_Product $product * @return string */ - public function getLastCategoryName($product) + public function getLastCategoryName($product): string { $_categoryIds = $product->getCategoryIds(); if ($_categoryIds) {