[DOC-CVS] [doc-en] master: Fix parameter name mismatches between signature and description (#5185)

[email protected] (Mikhail Alferov via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Mikhail Alferov (mmalferov)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2026-01-30T10:34:46Z

Commit: https://github.com/php/doc-en/commit/d9cfd78e58134785e2231bfc2d57f7f7a5698bb4
Raw diff: https://github.com/php/doc-en/commit/d9cfd78e58134785e2231bfc2d57f7f7a5698bb4.diff

Fix parameter name mismatches between signature and description (#5185)

Changed paths:
  M  reference/soap/soapfault/construct.xml


Diff:

diff --git a/reference/soap/soapfault/construct.xml b/reference/soap/soapfault/construct.xml
index 594dfbf08ecd..441e35959410 100644
--- a/reference/soap/soapfault/construct.xml
+++ b/reference/soap/soapfault/construct.xml
@@ -20,8 +20,8 @@
   </constructorsynopsis>
   <para>
    This class is used to send SOAP fault responses from the PHP handler.
-   <parameter>faultcode</parameter>, <parameter>faultstring</parameter>,
-   <parameter>faultactor</parameter> and <parameter>detail</parameter> are
+   <parameter>code</parameter>, <parameter>string</parameter>,
+   <parameter>actor</parameter> and <parameter>details</parameter> are
    standard elements of a SOAP Fault.
   </para>
  </refsect1>
@@ -31,7 +31,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>faultcode</parameter></term>
+     <term><parameter>code</parameter></term>
      <listitem>
       <para>
        The error code of the <classname>SoapFault</classname>.
@@ -39,7 +39,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>faultstring</parameter></term>
+     <term><parameter>string</parameter></term>
      <listitem>
       <para>
        The error message of the <classname>SoapFault</classname>.
@@ -47,7 +47,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>faultactor</parameter></term>
+     <term><parameter>actor</parameter></term>
      <listitem>
       <para>
        A string identifying the actor that caused the error.
@@ -55,7 +55,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>detail</parameter></term>
+     <term><parameter>details</parameter></term>
      <listitem>
       <para>
        More details about the cause of the error.
@@ -63,7 +63,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>faultname</parameter></term>
+     <term><parameter>name</parameter></term>
      <listitem>
       <para>
        Can be used to select the proper fault encoding from WSDL.
@@ -71,7 +71,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>headerfault</parameter></term>
+     <term><parameter>headerFault</parameter></term>
      <listitem>
       <para>
        Can be used during SOAP header handling to report an error in the
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.