From 61fc51c36371499c7fa31121a3b042c99de7255e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Tue, 15 Apr 2025 19:50:57 +0200 Subject: [PATCH] Add false to gnupg::verify $signature "The signature. To verify a clearsigned text, set signature to false." https://www.php.net/manual/en/function.gnupg-verify.php --- gnupg/gnupg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnupg/gnupg.php b/gnupg/gnupg.php index 263de6c51..44f770977 100644 --- a/gnupg/gnupg.php +++ b/gnupg/gnupg.php @@ -103,7 +103,7 @@ public function adddecryptkey($kye, $passphrase) {} * @link https://php.net/manual/en/function.gnupg-verify.php * * @param string $text - * @param string $signature + * @param string|false $signature * @param string &$plaintext * * @return array|false On success, this function returns information about the signature.