From 6fe99aad313d6a376cb8853871b2cebd76485013 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 13 Mar 2024 15:29:16 +0100 Subject: [PATCH] Correct signature of Trustly_Api::serializeData() --- Trustly/Api/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Trustly/Api/api.php b/Trustly/Api/api.php index c9fee7d..65f9351 100644 --- a/Trustly/Api/api.php +++ b/Trustly/Api/api.php @@ -139,9 +139,9 @@ public function loadTrustlyPublicKey($host, $port) { * * @link https://eu.developers.trustly.com/doc/reference/authentication * - * @param array $data Input data to serialize + * @param mixed $data Input data to serialize * - * @return array The input data in a serialized form + * @return string The input data in a serialized form */ public function serializeData($data) { if(is_array($data)) {