Skip to content

Commit 4adc304

Browse files
spazeisfedorov
authored andcommitted
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
1 parent 44f320d commit 4adc304

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gnupg/gnupg.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function adddecryptkey($kye, $passphrase) {}
103103
* @link https://php.net/manual/en/function.gnupg-verify.php
104104
*
105105
* @param string $text
106-
* @param string $signature
106+
* @param string|false $signature
107107
* @param string &$plaintext
108108
*
109109
* @return array|false On success, this function returns information about the signature.

0 commit comments

Comments
 (0)