mirror of
https://github.com/php/doc-en.git
synced 2026-03-23 23:32:18 +01:00
Remove <initializer> from required params
Or make the param optional.
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
<type>Gmagick</type><methodname>Gmagick::setCompressionQuality</methodname>
|
||||
<methodparam>
|
||||
<type>int</type><parameter>quality</parameter>
|
||||
<initializer>75</initializer>
|
||||
</methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@@ -29,6 +28,7 @@
|
||||
<term><parameter>quality</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The GraphicsMagick default value is 75.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>bool</type><methodname>Imagick::colorMatrixImage</methodname>
|
||||
<methodparam><type>array</type><parameter>color_matrix</parameter><initializer>Imagick::CHANNEL_DEFAULT</initializer></methodparam>
|
||||
<methodparam><type>array</type><parameter>color_matrix</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
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)
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <methodname>Lua::__construct</methodname>
|
||||
<methodparam><type>string</type><parameter>lua_script_file</parameter><initializer>NULL</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>lua_script_file</parameter><initializer>NULL</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<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>
|
||||
<methodparam><type>bool</type><parameter>asInt64</parameter><initializer>&false;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>asInt64</parameter><initializer>&false;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the ID for this cursor, which uniquely identifies the cursor on the
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>simdjson_is_valid</methodname>
|
||||
<methodparam><type>string</type><parameter>json</parameter><initializer>&false;</initializer></methodparam>
|
||||
<methodparam><type>string</type><parameter>json</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>depth</parameter><initializer>512</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>bool</type><methodname>streamWrapper::stream_seek</methodname>
|
||||
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>whence</parameter> <initializer>SEEK_SET</initializer></methodparam>
|
||||
<methodparam><type>int</type><parameter>whence</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This method is called in response to <function>fseek</function>.
|
||||
|
||||
Reference in New Issue
Block a user