intelephense

1.14.41.16.1
lib/stub/gnupg/gnupg.php
lib/stub/gnupg/gnupg.php
+5−3
Index: package/lib/stub/gnupg/gnupg.php
===================================================================
--- package/lib/stub/gnupg/gnupg.php
+++ package/lib/stub/gnupg/gnupg.php
@@ -102,11 +102,11 @@
      * Verifies a signed text
      * @link https://php.net/manual/en/function.gnupg-verify.php
      *
      * @param string $text
-     * @param string $signature
+     * @param string|false $signature
      * @param string &$plaintext
-     *
+     * @param-out string $plaintext
      * @return array|false On success, this function returns information about the signature.
      *               On failure, this function returns false.
      */
     public function verify($text, $signature, &$plaintext = null) {}
@@ -178,9 +178,9 @@
      * @link https://php.net/manual/en/function.gnupg-decryptverify.php
      *
      * @param string $enctext
      * @param string &$plaintext
-     *
+     * @param-out string $plaintext
      * @return array|false On success, this function returns information about the signature and
      *               fills the  parameter with the decrypted text.
      *               On failure, this function returns false.
      */
@@ -374,8 +374,9 @@
  * @param resource $res The gnupg identifier, from a call to gnupg_init() or gnupg.
  * @param string $text The signed text.
  * @param string|false $signature The signature. To verify a clearsigned text, set signature to false.
  * @param string &$plaintext The plain text. If this optional parameter is passed, it is filled with the plain text.
+ * @param-out string $plaintext
  * @return array|false On success, this function returns information about the signature.
  * On failure, this function returns false.
  */
 function gnupg_verify($res, $text, $signature, &$plaintext = '') {}
@@ -498,8 +499,9 @@
  * @link https://www.php.net/manual/en/function.gnupg-decryptverify.php
  * @param resource $res The gnupg identifier, from a call to gnupg_init() or gnupg.
  * @param string $enctext The text being decrypted.
  * @param string &$plaintext The parameter plaintext gets filled with the decrypted text.
+ * @param-out string $plaintext
  * @return array|false On success, this function returns information about the signature and fills the plaintext parameter
  * with the decrypted text. On failure, this function returns false.
  */
 function gnupg_decryptverify($res, $enctext, &$plaintext) {}