diff --git a/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php b/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php index 7d9f6725e..6813952e9 100644 --- a/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php +++ b/src/Payone/Webhook/MessageBus/MessageHandler/NotificationForwardHandler.php @@ -112,7 +112,7 @@ private function getForwardRequests(\CurlMultiHandle $multiHandle, EntitySearchR $serialize = unserialize($forward->getContent(), []); /** @var array|string|false $content */ - $content = mb_convert_encoding((string) $serialize, 'ISO-8859-1', 'UTF-8'); + $content = mb_convert_encoding($serialize, 'ISO-8859-1', 'UTF-8'); if (!\is_array($content)) { continue;