Created
October 25, 2023 05:43
-
-
Save hgati/291da1a9292d83a3a4e22cf99d9b39d3 to your computer and use it in GitHub Desktop.
Magento2 Duplicate Patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 2333e0fd5cc0a7f1d30cd2edcf73acd90bba8a63 Mon Sep 17 00:00:00 2001 | |
From: Dennis <[email protected]> | |
Date: Wed, 25 Oct 2023 14:41:23 +0900 | |
Subject: [PATCH] Declare class property to fix issue in PHP 8.2 | |
--- | |
Helper/Data.php | 5 +++++ | |
1 file changed, 5 insertions(+) | |
diff --git a/Helper/Data.php b/Helper/Data.php | |
index f90bfba..9ad5d7c 100755 | |
--- a/Helper/Data.php | |
+++ b/Helper/Data.php | |
@@ -13,6 +13,11 @@ use \Magento\Framework\App\Request\Http; | |
class Data extends \Magento\Framework\App\Helper\AbstractHelper | |
{ | |
+ /** | |
+ * @var \Magento\Framework\App\Request\Http | |
+ */ | |
+ protected $request; | |
+ | |
/** | |
* Data constructor. | |
* @param Http $request | |
-- | |
2.34.1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment