PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Testing » PHPUnit2 » Bug #6836

ReflectionParameter::getClass()

Details

Submitted2006-02-19 17:04 UTC
Frommaximilian dot gass at arcor dot de
StatusBogus
PackagePHPUnit2
PHP VersionIrrelevant
Roadmaps(Not assigned)

Comments

[2006-02-19 17:04 UTC] maximilian dot gass at arcor dot de

Description:
------------
I've had a look at the CVS and you also changed getClass()
to getDeclaringClass() on ReflectionParameter. But THIS
method is indeed named getClass() because I doesn't return
the declaring class but the type hinted class.

May I quote you?
"Note to self: Don't code when you're tired, don't commit
without testing."

I don't want to offend you but you should have a look at
the PHP Manual sometimes.

[2006-02-19 17:11 UTC] sebastian at php dot net

Thank you for taking the time to write to us, but this is not
a bug.

Please read http://news.php.net/php.internals/21913, http://news.php.net/php.cvs/36917, and http://news.php.net/php.pear.cvs/38376.