From bdbead1c23d62ce14d79bbcef5385601e7928e5f Mon Sep 17 00:00:00 2001 From: heerdt Date: Wed, 3 Jun 2020 18:35:07 +0100 Subject: [PATCH] Update file to use Laminas instead of Zend --- Controller/Webhook/Webhook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controller/Webhook/Webhook.php b/Controller/Webhook/Webhook.php index 0ae374e..c00dd49 100644 --- a/Controller/Webhook/Webhook.php +++ b/Controller/Webhook/Webhook.php @@ -62,7 +62,7 @@ public function execute() if($webhook_enabled) { - $httpRequestObject = new \Zend_Controller_Request_Http(); + $httpRequestObject = new \Laminas\Http\Request(); $api_key = $httpRequestObject->getHeader('api-key'); if ($api_key == $config_api_key) @@ -204,4 +204,4 @@ public function createShipment($orderId) ); } } -} \ No newline at end of file +}