Doc #66205 [Csd]: Generator::throw: error in the "Return Values" section
| From: | admin at rafaelbarros dot eti dot br | Date: | Sat, 24 May 2014 01:43:08 +0000 |
| Subject: | Doc #66205 [Csd]: Generator::throw: error in the "Return Values" section | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-11237@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66205&edit=1
ID: 66205
User updated by: admin at rafaelbarros dot eti dot br
Reported by: admin at rafaelbarros dot eti dot br
Summary: Generator::throw: error in the "Return Values"
section
Status: Closed
Type: Documentation Problem
Package: Documentation problem
PHP Version: Irrelevant
Assigned To: nikic
Block user comment: N
Private report: N
New Comment:
E-mail changed.
Previous Comments:
------------------------------------------------------------------------
[2013-11-30 14:23:09] nikic@php.net
The return type was document incorrectly. Now changed to "mixed".
------------------------------------------------------------------------
[2013-11-29 17:42:54] 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.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66205&edit=1