mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
As described in https://www.reddit.com/r/lolphp/comments/67w98x/prototype_says_it_returns_an_int_doc_says_it/ the prototype indicates that it returns an int, the return description says it does not return values and execution of the function seems to return bool. I checked PHP source code and seems that the only value returned is bool, therefore I updated the docs accordingly.
-- Provided by anonymous 83640 (jdomenechbborges@gmail.com) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342899 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ca53c5bc73
commit
3384e40b5d
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@
|
|||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>public</modifier> <type>int</type><methodname>SplFixedArray::setSize</methodname>
|
||||
<modifier>public</modifier> <type>bool</type><methodname>SplFixedArray::setSize</methodname>
|
||||
<methodparam><type>int</type><parameter>size</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
@ -39,7 +39,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
&return.void;
|
||||
&return.success;
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue