mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
Fix GH-1397: autounlock parameter in constructor is actually int not bool
This commit is contained in:
parent
d5ba7eb2cd
commit
f12b401043
1 changed files with 6 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
|||
<methodsynopsis>
|
||||
<modifier>public</modifier> <methodname>SyncReaderWriter::__construct</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>name</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>autounlock</parameter><initializer>&true;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>autounlock</parameter><initializer>1</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Constructs a named or unnamed reader-writer object.
|
||||
|
@ -35,6 +35,11 @@
|
|||
error message.
|
||||
</para>
|
||||
</note>
|
||||
<note>
|
||||
<simpara>
|
||||
On Windows, <parameter>name</parameter> must not contain backslashes.
|
||||
</simpara>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
|
|
Loading…
Reference in a new issue