Add missing initializers

Based on a patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346084 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2018-11-27 11:34:39 +00:00
parent a1060b5268
commit 2911a4edd4
6 changed files with 7 additions and 7 deletions

View file

@ -12,8 +12,8 @@
<para>&style.oop;</para>
<methodsynopsis role="oop">
<modifier>public</modifier> <type>array</type><methodname>DateTimeZone::getTransitions</methodname>
<methodparam choice="opt"><type>int</type><parameter>timestamp_begin</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>timestamp_end</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>timestamp_begin</parameter><initializer><constant>PHP_INT_MIN</constant></initializer></methodparam>
<methodparam choice="opt"><type>int</type><parameter>timestamp_end</parameter><initializer><constant>PHP_INT_MAX</constant></initializer></methodparam>
</methodsynopsis>
<para>&style.procedural;</para>
<methodsynopsis role="procedural">

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>DOMNode</type><methodname>DOMDocument::importNode</methodname>
<methodparam><type>DOMNode</type><parameter>importedNode</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>deep</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>deep</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
This function returns a copy of the node to import and associates it with

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>int</type><methodname>DOMDocument::save</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Creates an XML document from the DOM representation. This function is usually

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>string</type><methodname>DOMDocument::saveXML</methodname>
<methodparam choice="opt"><type>DOMNode</type><parameter>node</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Creates an XML document from the DOM representation. This function is usually

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>DOMDocument::schemaValidate</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Validates a document based on the given schema file.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>int</type><methodname>DOMDocument::xinclude</methodname>
<methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
This method substitutes <link