php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #65349 ReflectionMethod::getClosure() takes an object, not a string
Submitted: 2013-07-26 23:52 UTC Modified: 2013-10-03 06:47 UTC
From: benjamin dot morel at gmail dot com Assigned: krakjoe (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2013-07-26 23:52 UTC] 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 )

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-27 23:58 UTC] benjamin dot morel at gmail dot com
Please invert "expected" and "actual", my bad.
 [2013-10-03 06:46 UTC] 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-10-03 06:47 UTC] krakjoe@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: krakjoe
 [2013-10-03 06:47 UTC] krakjoe@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 21:00:02 2026 UTC