Skip to content

Commit

Permalink
Document tentative return type changes in Phar
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsdos committed Nov 12, 2024
1 parent 434557c commit 33bb77a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 7 deletions.
30 changes: 27 additions & 3 deletions reference/phar/Phar/setAlias.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="Phar">
<modifier>public</modifier> <type>bool</type><methodname>Phar::setAlias</methodname>
<modifier>public</modifier> <type>true</type><methodname>Phar::setAlias</methodname>
<methodparam><type>string</type><parameter>alias</parameter></methodparam>
</methodsynopsis>
&phar.write;
Expand Down Expand Up @@ -44,8 +44,9 @@
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
</para>
<simpara>
&return.true.always;
</simpara>
</refsect1>

<refsect1 role="errors">
Expand All @@ -57,6 +58,29 @@
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<methodname>Phar::setAlias</methodname>
now has a tentative return of <type>true</type>.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<para>
Expand Down
15 changes: 11 additions & 4 deletions reference/phar/Phar/setDefaultStub.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="Phar">
<modifier>public</modifier> <type>bool</type><methodname>Phar::setDefaultStub</methodname>
<modifier>public</modifier> <type>true</type><methodname>Phar::setDefaultStub</methodname>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>index</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type class="union"><type>string</type><type>null</type></type><parameter>webIndex</parameter><initializer>&null;</initializer></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -45,9 +45,9 @@

<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
</para>
<simpara>
&return.true.always;
</simpara>
</refsect1>

<refsect1 role="errors">
Expand All @@ -72,6 +72,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
<methodname>Phar::setDefaultStub</methodname>
now has a tentative return of <type>true</type>.
</entry>
</row>
<row>
<entry>8.0.0</entry>
<entry>
Expand Down

0 comments on commit 33bb77a

Please sign in to comment.