Doc #65349 [Opn->Csd]: ReflectionMethod::getClosure() takes an object, not a string

From: Date: Thu, 03 Oct 2013 06:47:03 +0000
Subject: Doc #65349 [Opn->Csd]: ReflectionMethod::getClosure() takes an object, not a string
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10394@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65349&edit=1 ID: 65349 Updated by: krakjoe@php.net Reported by: benjamin dot morel at gmail dot com Summary: ReflectionMethod::getClosure() takes an object, not a string -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant -Assigned To: +Assigned To: krakjoe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2013-10-03 06:46:59] krakjoe@php.net Automatic comment from SVN on behalf of krakjoe Revision: http://svn.php.net/viewvc/?view=revision&revision=331655 Log: #65349 fix prototype ------------------------------------------------------------------------ [2013-07-27 23:58:46] benjamin dot morel at gmail dot com Please invert "expected" and "actual", my bad. ------------------------------------------------------------------------ [2013-07-26 23:52:44] benjamin dot morel at gmail dot com Description: ------------ The documentation is wrong in: http://www.php.net/manual/en/reflectionmethod.getclosure.php Expected result: ---------------- public Closure ReflectionMethod::getClosure ( string $object ) Actual result: -------------- public Closure ReflectionMethod::getClosure ( object $object ) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65349&edit=1

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