Skip to content

Commit 2ab6e3f

Browse files
kocsismateGirgias
andauthored
Synchronize manual with stubs for PHP 8.4 - part 6 (#4209)
Co-authored-by: Gina Peter Banyard <[email protected]>
1 parent 795fad1 commit 2ab6e3f

File tree

5 files changed

+69
-12
lines changed

5 files changed

+69
-12
lines changed

reference/readline/functions/readline-add-history.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis>
12-
<type>bool</type><methodname>readline_add_history</methodname>
12+
<type>true</type><methodname>readline_add_history</methodname>
1313
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
1414
</methodsynopsis>
1515
<para>
@@ -36,7 +36,7 @@
3636
<refsect1 role="returnvalues">
3737
&reftitle.returnvalues;
3838
<para>
39-
&return.success;
39+
&return.true.always;
4040
</para>
4141
</refsect1>
4242
</refentry>

reference/readline/functions/readline-callback-handler-install.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis>
12-
<type>bool</type><methodname>readline_callback_handler_install</methodname>
12+
<type>true</type><methodname>readline_callback_handler_install</methodname>
1313
<methodparam><type>string</type><parameter>prompt</parameter></methodparam>
1414
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
1515
</methodsynopsis>
@@ -55,7 +55,7 @@
5555
<refsect1 role="returnvalues">
5656
&reftitle.returnvalues;
5757
<para>
58-
&return.success;
58+
&return.true.always;
5959
</para>
6060
</refsect1>
6161

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

119119
</refentry>
120-
121120
<!-- Keep this comment at the end of the file
122121
Local variables:
123122
mode: sgml

reference/readline/functions/readline-clear-history.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis>
12-
<type>bool</type><methodname>readline_clear_history</methodname>
12+
<type>true</type><methodname>readline_clear_history</methodname>
1313
<void/>
1414
</methodsynopsis>
1515
<para>
@@ -25,11 +25,10 @@
2525
<refsect1 role="returnvalues">
2626
&reftitle.returnvalues;
2727
<para>
28-
&return.success;
28+
&return.true.always;
2929
</para>
3030
</refsect1>
3131
</refentry>
32-
3332
<!-- Keep this comment at the end of the file
3433
Local variables:
3534
mode: sgml

reference/sqlite3/sqlite3result/finalize.xml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis role="SQLite3Result">
12-
<modifier>public</modifier> <type>bool</type><methodname>SQLite3Result::finalize</methodname>
12+
<modifier>public</modifier> <type>true</type><methodname>SQLite3Result::finalize</methodname>
1313
<void/>
1414
</methodsynopsis>
1515
<para>
@@ -25,10 +25,39 @@
2525
<refsect1 role="returnvalues">
2626
&reftitle.returnvalues;
2727
<para>
28-
Returns &true;.
28+
&return.true.always;
2929
</para>
3030
</refsect1>
3131

32+
<refsect1 role="errors">
33+
&reftitle.errors;
34+
<simpara>
35+
An <exceptionname>Error</exceptionname> is thrown if the method is called on an uninitialized object.
36+
</simpara>
37+
</refsect1>
38+
39+
<refsect1 role="changelog">
40+
&reftitle.changelog;
41+
<informaltable>
42+
<tgroup cols="2">
43+
<thead>
44+
<row>
45+
<entry>&Version;</entry>
46+
<entry>&Description;</entry>
47+
</row>
48+
</thead>
49+
<tbody>
50+
<row>
51+
<entry>8.1.0</entry>
52+
<entry>
53+
This method now throws an <exceptionname>Error</exceptionname> exception if the
54+
object is not correct initialized. Previously, it returned &false;.
55+
</entry>
56+
</row>
57+
</tbody>
58+
</tgroup>
59+
</informaltable>
60+
</refsect1>
3261
</refentry>
3362
<!-- Keep this comment at the end of the file
3463
Local variables:

reference/sqlite3/sqlite3stmt/close.xml

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<refsect1 role="description">
1010
&reftitle.description;
1111
<methodsynopsis role="SQLite3Stmt">
12-
<modifier>public</modifier> <type>bool</type><methodname>SQLite3Stmt::close</methodname>
12+
<modifier>public</modifier> <type>true</type><methodname>SQLite3Stmt::close</methodname>
1313
<void/>
1414
</methodsynopsis>
1515
<para>
@@ -32,10 +32,40 @@
3232
<refsect1 role="returnvalues">
3333
&reftitle.returnvalues;
3434
<para>
35-
Returns &true;
35+
&return.true.always;
3636
</para>
3737
</refsect1>
3838

39+
<refsect1 role="errors">
40+
&reftitle.errors;
41+
<simpara>
42+
An <exceptionname>Error</exceptionname> is thrown if the method is called on an uninitialized object.
43+
</simpara>
44+
</refsect1>
45+
46+
<refsect1 role="changelog">
47+
&reftitle.changelog;
48+
<informaltable>
49+
<tgroup cols="2">
50+
<thead>
51+
<row>
52+
<entry>&Version;</entry>
53+
<entry>&Description;</entry>
54+
</row>
55+
</thead>
56+
<tbody>
57+
<row>
58+
<entry>8.1.0</entry>
59+
<entry>
60+
This method now throws an <exceptionname>Error</exceptionname> exception if the
61+
object is not correct initialized. Previously, it returned
62+
&false;.
63+
</entry>
64+
</row>
65+
</tbody>
66+
</tgroup>
67+
</informaltable>
68+
</refsect1>
3969
</refentry>
4070
<!-- Keep this comment at the end of the file
4171
Local variables:

0 commit comments

Comments
 (0)