Skip to content

Synchronize manual with stubs for PHP 8.4 - part 6 #4209

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions reference/readline/functions/readline-add-history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_add_history</methodname>
<type>true</type><methodname>readline_add_history</methodname>
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
</methodsynopsis>
<para>
Expand All @@ -36,7 +36,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
&return.true.always;
</para>
</refsect1>
</refentry>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_callback_handler_install</methodname>
<type>true</type><methodname>readline_callback_handler_install</methodname>
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
</methodsynopsis>
Expand Down Expand Up @@ -55,7 +55,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
&return.true.always;
</para>
</refsect1>

Expand Down Expand Up @@ -117,7 +117,6 @@ echo "Prompting disabled. All done.\n";
</refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
5 changes: 2 additions & 3 deletions reference/readline/functions/readline-clear-history.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>readline_clear_history</methodname>
<type>true</type><methodname>readline_clear_history</methodname>
<void/>
</methodsynopsis>
<para>
Expand All @@ -25,11 +25,10 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
&return.success;
&return.true.always;
</para>
</refsect1>
</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
Expand Down
33 changes: 31 additions & 2 deletions reference/sqlite3/sqlite3result/finalize.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="SQLite3Result">
<modifier>public</modifier> <type>bool</type><methodname>SQLite3Result::finalize</methodname>
<modifier>public</modifier> <type>true</type><methodname>SQLite3Result::finalize</methodname>
<void/>
</methodsynopsis>
<para>
Expand All @@ -25,10 +25,39 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true;.
&return.true.always;
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<simpara>
An <exceptionname>Error</exceptionname> is thrown if the method is called on an uninitialized object.
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.1.0</entry>
<entry>
This method now throws an <exceptionname>Error</exceptionname> exception if the
object is not correct initialized. Previously, it returned &false;.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
Expand Down
34 changes: 32 additions & 2 deletions reference/sqlite3/sqlite3stmt/close.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<refsect1 role="description">
&reftitle.description;
<methodsynopsis role="SQLite3Stmt">
<modifier>public</modifier> <type>bool</type><methodname>SQLite3Stmt::close</methodname>
<modifier>public</modifier> <type>true</type><methodname>SQLite3Stmt::close</methodname>
<void/>
</methodsynopsis>
<para>
Expand All @@ -32,10 +32,40 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns &true;
&return.true.always;
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<simpara>
An <exceptionname>Error</exceptionname> is thrown if the method is called on an uninitialized object.
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.1.0</entry>
<entry>
This method now throws an <exceptionname>Error</exceptionname> exception if the
object is not correct initialized. Previously, it returned
&false;.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
Expand Down