Skip to content

Commit 0a16e31

Browse files
authored
Sync SPL files with doc-en (php#347)
- Update EN-Revision for recursivefilteriterator.xml, splpriorityqueue.xml, outofboundsexception.xml (phpdoc:classref → reference migration) - Update splfileobject/fwrite.xml: nullable length parameter (PHP 8.5)
1 parent 720373c commit 0a16e31

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

reference/spl/outofboundsexception.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55
<reference xml:id="class.outofboundsexception" role="exception" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
66
<title>OutOfBoundsException クラス</title>

reference/spl/recursivefilteriterator.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: takagi Status: ready -->
44
<reference xml:id="class.recursivefilteriterator" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
55

66
<title>RecursiveFilterIterator クラス</title>

reference/spl/splfileobject/fwrite.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 7586ab5177f6c12ec709bf336c16bb2e20553be8 Maintainer: masakielastic Status: ready -->
3+
<!-- EN-Revision: aa120f36c5762e99f9ee121d8caf910e0a67121e Maintainer: masakielastic Status: ready -->
44
<!-- Credits: mumumu -->
55
<refentry xml:id="splfileobject.fwrite" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
66
<refnamediv>
@@ -13,7 +13,7 @@
1313
<methodsynopsis role="SplFileObject">
1414
<modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>SplFileObject::fwrite</methodname>
1515
<methodparam><type>string</type><parameter>data</parameter></methodparam>
16-
<methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
16+
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
1717
</methodsynopsis>
1818
<para>
1919
Writes the contents of <parameter>data</parameter> to the file
@@ -36,7 +36,7 @@
3636
<term><parameter>length</parameter></term>
3737
<listitem>
3838
<para>
39-
<parameter>length</parameter> 引数が渡される場合、<parameter>length</parameter> バイト分だけ書き込まれた後もしくは <parameter>data</parameter> の終端に達するのどちらか早い方の後で書き込みが停止します。
39+
<parameter>length</parameter> 引数が <type>int</type> の場合、<parameter>length</parameter> バイト分だけ書き込まれた後もしくは <parameter>data</parameter> の終端に達するのどちらか早い方の後で書き込みが停止します。
4040
</para>
4141
</listitem>
4242
</varlistentry>
@@ -62,6 +62,12 @@
6262
</row>
6363
</thead>
6464
<tbody>
65+
<row>
66+
<entry>8.5.0</entry>
67+
<entry>
68+
<parameter>length</parameter> は nullable になりました。
69+
</entry>
70+
</row>
6571
<row>
6672
<entry>7.4.0</entry>
6773
<entry>

reference/spl/splpriorityqueue.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 4d17b7b4947e7819ff5036715dd706be87ae4def Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55
<reference xml:id="class.splpriorityqueue" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
66
<title>SplPriorityQueue クラス</title>

0 commit comments

Comments
 (0)