Skip to content

Commit d8226da

Browse files
committed
[Sync EN] phar/PharData::setStub: sync stub type, signature and changelog
1 parent 3a86964 commit d8226da

1 file changed

Lines changed: 25 additions & 8 deletions

File tree

reference/phar/PharData/setStub.xml

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<!-- EN-Revision: f03806fcd8fe03a0501bd40b6e3939ff6589a1d2 Maintainer: gui Status: ready -->
2+
<!-- EN-Revision: 4c394e560dac163a0be9098de27153a9f98ef490 Maintainer: lacatoire Status: ready -->
33
<!-- Reviewed: no -->
44
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="phardata.setstub">
55
<refnamediv>
@@ -9,9 +9,9 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis role="PharData">
12-
<modifier>public</modifier> <type>bool</type><methodname>PharData::setStub</methodname>
13-
<methodparam><type>string</type><parameter>stub</parameter></methodparam>
14-
<methodparam choice="opt"><type>int</type><parameter>len</parameter><initializer>-1</initializer></methodparam>
12+
<modifier>public</modifier> <type>true</type><methodname>PharData::setStub</methodname>
13+
<methodparam><type class="union"><type>resource</type><type>string</type></type><parameter>stub</parameter></methodparam>
14+
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>-1</initializer></methodparam>
1515
</methodsynopsis>
1616

1717
<para>
@@ -34,7 +34,7 @@
3434
</listitem>
3535
</varlistentry>
3636
<varlistentry>
37-
<term><parameter>len</parameter></term>
37+
<term><parameter>length</parameter></term>
3838
<listitem>
3939
<para>
4040

@@ -48,9 +48,9 @@
4848

4949
<refsect1 role="returnvalues">
5050
&reftitle.returnvalues;
51-
<para>
52-
&return.success;
53-
</para>
51+
<simpara>
52+
&return.true.always;
53+
</simpara>
5454
</refsect1>
5555

5656
<refsect1 role="errors">
@@ -60,6 +60,23 @@
6060
</para>
6161
</refsect1>
6262

63+
<refsect1 role="changelog">
64+
&reftitle.changelog;
65+
<informaltable>
66+
<tgroup cols="2">
67+
<thead>
68+
<row>
69+
<entry>&Version;</entry>
70+
<entry>&Description;</entry>
71+
</row>
72+
</thead>
73+
<tbody>
74+
&return.type.true.84;
75+
</tbody>
76+
</tgroup>
77+
</informaltable>
78+
</refsect1>
79+
6380
<refsect1 role="seealso">
6481
&reftitle.seealso;
6582
<para>

0 commit comments

Comments
 (0)