From cb2084fb40caac95242dbb057a2901f976451dc9 Mon Sep 17 00:00:00 2001 From: Oleksandr Dykyi Date: Fri, 3 Feb 2023 15:21:50 +0200 Subject: [PATCH] Replaced missing Zend class with Laminas --- Helper/Data.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Helper/Data.php b/Helper/Data.php index 2df937b..9bb4787 100644 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -7,6 +7,7 @@ namespace Magenest\Core\Helper; +use Laminas\Http\Request; use Magento\Framework\App\Helper\AbstractHelper; use Magento\Store\Model\StoreManagerInterface; use Magento\Framework\HTTP\Adapter\CurlFactory; @@ -241,7 +242,7 @@ public function checkNotificationUpdate() $curl = $this->curlFactory->create(); $curl->setConfig(['timeout' => 2]); - $curl->write(\Zend_Http_Client::GET, $this->getUpdateNotificationUrl() . $param); + $curl->write(Request::METHOD_GET, $this->getUpdateNotificationUrl() . $param); $data = $curl->read(); if ($data !== false) {