From f9afd7aa8eab81ee15c70933216006166f8e3cfc Mon Sep 17 00:00:00 2001 From: Ivan Pugach Date: Wed, 3 Apr 2024 17:31:49 +0300 Subject: [PATCH] Implement support of the 8.1 version --- src/Components/PluginConfig/Service/ConfigService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Components/PluginConfig/Service/ConfigService.php b/src/Components/PluginConfig/Service/ConfigService.php index 3db78ef..273fbe2 100644 --- a/src/Components/PluginConfig/Service/ConfigService.php +++ b/src/Components/PluginConfig/Service/ConfigService.php @@ -159,9 +159,9 @@ public function skipOrderStateValidation(): mixed /** * @param string $secret * - * @return null + * @return mixed */ - public function setWebhooksSecret(string $secret = ''): null + public function setWebhooksSecret(string $secret = '') { return $this->systemConfigService->set('Mond1SW6.customConfig.webhooksSecret', $secret, $this->salesChannelId); }