Doc #77702 [Csd]: Ds\Set::first() incorrect return type

From: Date: Mon, 11 Mar 2019 13:27:37 +0000
Subject: Doc #77702 [Csd]: Ds\Set::first() incorrect return type
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16464@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77702&edit=1 ID: 77702 Updated by: cmb@php.net Reported by: demyan112rv at gmail dot com Summary: Ds\Set::first() incorrect return type Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Any PHP Version: Irrelevant Assigned To: cmb Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2019-03-11 13:21:42] cmb@php.net Automatic comment from SVN on behalf of cmb Revision: http://svn.php.net/viewvc/?view=revision&revision=346995 Log: Fix #77702: Ds\Set::first() incorrect return type ------------------------------------------------------------------------ [2019-03-06 08:02:22] demyan112rv at gmail dot com Description: ------------ --- From manual page: https://php.net/ds-set.first --- Return type void for this method is incorrect. Test script: --------------- $set = new Ds\Set(); $set->add('foo', 'bar'); var_dump($set->first()); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77702&edit=1

« previous php.doc.bugs (#16464) next »