php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #66205 Generator::throw: error in the "Return Values" section
Submitted: 2013-11-29 17:42 UTC Modified: 2014-05-24 01:43 UTC
From: admin at rafaelbarros dot eti dot br Assigned: nikic (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2013-11-29 17:42 UTC] admin at rafaelbarros dot eti dot br
Description:
------------
---
From manual page: http://www.php.net/generator.throw
---

In the "Return Values" section, it says: "Returns the yielded value.". As far as i know, when a method is "void", it can't have a return.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-11-30 14:23 UTC] nikic@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: nikic
 [2013-11-30 14:23 UTC] nikic@php.net
The return type was document incorrectly. Now changed to "mixed".
 [2014-05-24 01:43 UTC] admin at rafaelbarros dot eti dot br
-: admin at wmfoi dot com dot br +: admin at rafaelbarros dot eti dot br
 [2014-05-24 01:43 UTC] admin at rafaelbarros dot eti dot br
E-mail changed.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 08:01:28 2024 UTC