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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: admin at rafaelbarros dot eti dot br
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 02:00:02 2026 UTC