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

From: Date: Sat, 27 Jul 2013 23:58:46 +0000
Subject: Doc #65349 [Opn]: ReflectionMethod::getClosure() takes an object, not a string
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10123@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 User updated by: benjamin dot morel at gmail dot com Reported by: benjamin dot morel at gmail dot com Summary: ReflectionMethod::getClosure() takes an object, not a string Status: Open Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Please invert "expected" and "actual", my bad. Previous Comments: ------------------------------------------------------------------------ [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 (#10123) next »