Doc #66205 [Opn->Csd]: Generator::throw: error in the "Return Values" section

From: Date: Sat, 30 Nov 2013 14:23:09 +0000
Subject: Doc #66205 [Opn->Csd]: Generator::throw: error in the "Return Values" section
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10658@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 Updated by: nikic@php.net Reported by: admin at wmfoi dot com dot br Summary: Generator::throw: error in the "Return Values" section -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: The return type was document incorrectly. Now changed to "mixed". Previous Comments: ------------------------------------------------------------------------ [2013-11-29 17:42:54] admin at wmfoi dot com 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

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