Skip to content

Commit 79a3634

Browse files
kocsismateclaudepache
authored andcommitted
Improve parameter docs for XSLTProcessor::transform* methods (php#2469)
1 parent 4355724 commit 79a3634

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

reference/xsl/xsltprocessor/transformtodoc.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
<term><parameter>document</parameter></term>
2727
<listitem>
2828
<para>
29-
The node to be transformed.
29+
The <type>DOMDocument</type> or <type>SimpleXMLElement</type> object to
30+
be transformed.
3031
</para>
3132
</listitem>
3233
</varlistentry>

reference/xsl/xsltprocessor/transformtouri.xml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@
88
<refsect1 role="description">
99
&reftitle.description;
1010
<methodsynopsis role="XSLTProcessor">
11-
<modifier>public</modifier> <type>int</type>
12-
<methodname>XSLTProcessor::transformToUri</methodname>
13-
<methodparam><type>DOMDocument</type><parameter>doc</parameter></methodparam>
11+
<modifier>public</modifier> <type>int</type><methodname>XSLTProcessor::transformToUri</methodname>
12+
<methodparam><type>object</type><parameter>document</parameter></methodparam>
1413
<methodparam><type>string</type><parameter>uri</parameter></methodparam>
1514
</methodsynopsis>
1615
<para>
@@ -23,10 +22,11 @@
2322
<para>
2423
<variablelist>
2524
<varlistentry>
26-
<term><parameter>doc</parameter></term>
25+
<term><parameter>document</parameter></term>
2726
<listitem>
2827
<para>
29-
The document to transform.
28+
The <type>DOMDocument</type> or <type>SimpleXMLElement</type> object to
29+
be transformed.
3030
</para>
3131
</listitem>
3232
</varlistentry>
@@ -85,7 +85,6 @@ $proc->transformToURI($xml, 'file:///tmp/out.html');
8585
</para>
8686
</refsect1>
8787
</refentry>
88-
8988
<!-- Keep this comment at the end of the file
9089
Local variables:
9190
mode: sgml

0 commit comments

Comments
 (0)