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:
Christoph Michael Becker 2017-08-21 11:36:07 +00:00
parent ca53c5bc73
commit 3384e40b5d

View file

@ -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>