Skip to content

Commit

Permalink
[gnupg] Fix return type declarations (#2748)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Beru authored Sep 8, 2023
1 parent ba6a83c commit 766fa97
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-decrypt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>gnupg_decrypt</methodname>
<type class="union"><type>string</type><type>false</type></type><methodname>gnupg_decrypt</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>text</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-decryptverify.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>gnupg_decryptverify</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>gnupg_decryptverify</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>text</parameter></methodparam>
<methodparam><type>string</type><parameter role="reference">plaintext</parameter></methodparam>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-encrypt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>gnupg_encrypt</methodname>
<type class="union"><type>string</type><type>false</type></type><methodname>gnupg_encrypt</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>plaintext</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-encryptsign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>gnupg_encryptsign</methodname>
<type class="union"><type>string</type><type>false</type></type><methodname>gnupg_encryptsign</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>plaintext</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-export.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>gnupg_export</methodname>
<type class="union"><type>string</type><type>false</type></type><methodname>gnupg_export</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>fingerprint</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-geterror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>gnupg_geterror</methodname>
<type class="union"><type>string</type><type>false</type></type><methodname>gnupg_geterror</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
</methodsynopsis>
</refsect1>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-gettrustlist.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>gnupg_gettrustlist</methodname>
<type class="union"><type>array</type><type>null</type></type><methodname>gnupg_gettrustlist</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-import.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>gnupg_import</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>gnupg_import</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>keydata</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-keyinfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>gnupg_keyinfo</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>gnupg_keyinfo</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>pattern</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-listsignatures.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>gnupg_listsignatures</methodname>
<type class="union"><type>array</type><type>null</type></type><methodname>gnupg_listsignatures</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>keyid</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-sign.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>gnupg_sign</methodname>
<type class="union"><type>string</type><type>false</type></type><methodname>gnupg_sign</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>plaintext</parameter></methodparam>
</methodsynopsis>
Expand Down
2 changes: 1 addition & 1 deletion reference/gnupg/functions/gnupg-verify.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>gnupg_verify</methodname>
<type class="union"><type>array</type><type>false</type></type><methodname>gnupg_verify</methodname>
<methodparam><type>resource</type><parameter>identifier</parameter></methodparam>
<methodparam><type>string</type><parameter>signed_text</parameter></methodparam>
<methodparam><type>string</type><parameter>signature</parameter></methodparam>
Expand Down

0 comments on commit 766fa97

Please sign in to comment.