Skip to content

Commit cf2b279

Browse files
committed
Remove <initializer> from required params
Or make the param optional.
1 parent 7ce4d9d commit cf2b279

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

reference/gmagick/gmagick/setcompressionquality.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<type>Gmagick</type><methodname>Gmagick::setCompressionQuality</methodname>
1414
<methodparam>
1515
<type>int</type><parameter>quality</parameter>
16-
<initializer>75</initializer>
1716
</methodparam>
1817
</methodsynopsis>
1918
<para>
@@ -29,6 +28,7 @@
2928
<term><parameter>quality</parameter></term>
3029
<listitem>
3130
<para>
31+
The GraphicsMagick default value is 75.
3232
</para>
3333
</listitem>
3434
</varlistentry>

reference/imagick/imagick/colormatriximage.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
&reftitle.description;
1212
<methodsynopsis>
1313
<modifier>public</modifier> <type>bool</type><methodname>Imagick::colorMatrixImage</methodname>
14-
<methodparam><type>array</type><parameter>color_matrix</parameter><initializer>Imagick::CHANNEL_DEFAULT</initializer></methodparam>
14+
<methodparam><type>array</type><parameter>color_matrix</parameter></methodparam>
1515
</methodsynopsis>
1616
<para>
1717
Apply color transformation to an image. The method permits saturation changes, hue rotation, luminance to alpha, and various other effects. Although variable-sized transformation matrices can be used, typically one uses a 5x5 matrix for an RGBA image and a 6x6 for CMYKA (or RGBA with offsets). The matrix is similar to those used by Adobe Flash except offsets are in column 6 rather than 5 (in support of CMYKA images) and offsets are normalized (divide Flash offset by 255)

reference/lua/lua/construct.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
&reftitle.description;
1212
<methodsynopsis>
1313
<modifier>public</modifier> <methodname>Lua::__construct</methodname>
14-
<methodparam><type>string</type><parameter>lua_script_file</parameter><initializer>NULL</initializer></methodparam>
14+
<methodparam choice="opt"><type>string</type><parameter>lua_script_file</parameter><initializer>NULL</initializer></methodparam>
1515
</methodsynopsis>
1616
<para>
1717

reference/mongodb/mongodb/driver/cursor/getid.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
&reftitle.description;
1212
<methodsynopsis>
1313
<modifier>final</modifier> <modifier>public</modifier> <type class="union"><type>MongoDB\Driver\CursorId</type><type>MongoDB\BSON\Int64</type></type><methodname>MongoDB\Driver\Cursor::getId</methodname>
14-
<methodparam><type>bool</type><parameter>asInt64</parameter><initializer>&false;</initializer></methodparam>
14+
<methodparam choice="opt"><type>bool</type><parameter>asInt64</parameter><initializer>&false;</initializer></methodparam>
1515
</methodsynopsis>
1616
<para>
1717
Returns the ID for this cursor, which uniquely identifies the cursor on the

reference/simdjson/functions/simdjson-is-valid.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
&reftitle.description;
1010
<methodsynopsis>
1111
<type>bool</type><methodname>simdjson_is_valid</methodname>
12-
<methodparam><type>string</type><parameter>json</parameter><initializer>&false;</initializer></methodparam>
12+
<methodparam><type>string</type><parameter>json</parameter></methodparam>
1313
<methodparam choice="opt"><type>int</type><parameter>depth</parameter><initializer>512</initializer></methodparam>
1414
</methodsynopsis>
1515
<para>

reference/stream/streamwrapper/stream-seek.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<methodsynopsis>
1313
<modifier>public</modifier> <type>bool</type><methodname>streamWrapper::stream_seek</methodname>
1414
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
15-
<methodparam><type>int</type><parameter>whence</parameter> <initializer>SEEK_SET</initializer></methodparam>
15+
<methodparam><type>int</type><parameter>whence</parameter></methodparam>
1616
</methodsynopsis>
1717
<para>
1818
This method is called in response to <function>fseek</function>.

0 commit comments

Comments
 (0)