From bb66493e604725b941ea86b639b93829b309862b Mon Sep 17 00:00:00 2001 From: "ivan.hrytsai" Date: Thu, 8 May 2025 09:41:34 +0300 Subject: [PATCH] 13311-Magento248-Php84-Compatibility --- Plugin/Magento/Ui/Component/Wysiwyg/ConfigPlugin.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugin/Magento/Ui/Component/Wysiwyg/ConfigPlugin.php b/Plugin/Magento/Ui/Component/Wysiwyg/ConfigPlugin.php index 8257577..69d96d5 100644 --- a/Plugin/Magento/Ui/Component/Wysiwyg/ConfigPlugin.php +++ b/Plugin/Magento/Ui/Component/Wysiwyg/ConfigPlugin.php @@ -37,8 +37,8 @@ class ConfigPlugin */ public function __construct( $activeEditor = null, - RequestInterface $request = null, - ScopeConfigInterface $scopeConfig = null + ?RequestInterface $request = null, + ?ScopeConfigInterface $scopeConfig = null ) { try { /* Fix for Magento 2.1.x & 2.2.x that does not have this class and plugin should not work there */