From 3384e40b5d0c20a5fe4d8cc03c3abc04c5de441f Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 21 Aug 2017 11:36:07 +0000 Subject: [PATCH] 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 --- reference/spl/splfixedarray/setsize.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/spl/splfixedarray/setsize.xml b/reference/spl/splfixedarray/setsize.xml index 71a6325731..46a56bafa5 100644 --- a/reference/spl/splfixedarray/setsize.xml +++ b/reference/spl/splfixedarray/setsize.xml @@ -9,7 +9,7 @@ &reftitle.description; - public intSplFixedArray::setSize + public boolSplFixedArray::setSize intsize @@ -39,7 +39,7 @@ &reftitle.returnvalues; - &return.void; + &return.success;