From c0f30c7c6ff62bce6ef5f2abfcffd72e00556221 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Wed, 13 Mar 2024 18:27:54 +0100 Subject: [PATCH] Correct signature of Trustly_Data::useMerchantPrivateKey() --- Trustly/Api/signed.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Trustly/Api/signed.php b/Trustly/Api/signed.php index 69d0b5b..40af480 100644 --- a/Trustly/Api/signed.php +++ b/Trustly/Api/signed.php @@ -107,7 +107,9 @@ public function loadMerchantPrivateKey($filename) { * * @see https://eu.developers.trustly.com/doc/reference/authentication * - * @param string $cert Loaded private RSA key as a string + * @param string|false $cert Loaded private RSA key as a string + * + * @return bool */ public function useMerchantPrivateKey($cert) { if($cert !== FALSE) {