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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Thu May 02 07:01:30 2024 UTC